pub struct SphereBounds<'a> { /* private fields */ }Expand description
Bounds derived from a position column and a radius column.
This is the atom case, and the reason the trait exists: a scene already holds both columns, so the boxes are arithmetic rather than storage. Rows past the shorter of the two columns are empty.
Implementations§
Trait Implementations§
Source§impl BvhSource for SphereBounds<'_>
impl BvhSource for SphereBounds<'_>
Source§impl<'a> Clone for SphereBounds<'a>
impl<'a> Clone for SphereBounds<'a>
impl<'a> Copy for SphereBounds<'a>
Auto Trait Implementations§
impl<'a> Freeze for SphereBounds<'a>
impl<'a> RefUnwindSafe for SphereBounds<'a>
impl<'a> Send for SphereBounds<'a>
impl<'a> Sync for SphereBounds<'a>
impl<'a> Unpin for SphereBounds<'a>
impl<'a> UnsafeUnpin for SphereBounds<'a>
impl<'a> UnwindSafe for SphereBounds<'a>
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§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