Struct valence_spatial::WithAabb
source · pub struct WithAabb<O, N = f64> {
pub object: O,
pub aabb: Aabb<N>,
}
Fields§
§object: O
§aabb: Aabb<N>
Implementations§
Trait Implementations§
impl<O: Copy, N: Copy> Copy for WithAabb<O, N>
impl<O: Eq, N: Eq> Eq for WithAabb<O, N>
impl<O, N> StructuralPartialEq for WithAabb<O, N>
Auto Trait Implementations§
impl<O, N> Freeze for WithAabb<O, N>
impl<O, N> RefUnwindSafe for WithAabb<O, N>where
O: RefUnwindSafe,
N: RefUnwindSafe,
impl<O, N> Send for WithAabb<O, N>
impl<O, N> Sync for WithAabb<O, N>
impl<O, N> Unpin for WithAabb<O, N>
impl<O, N> UnwindSafe for WithAabb<O, N>where
O: UnwindSafe,
N: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more