pub struct GeomLeaf {
pub prim: LeafPrim,
pub world: DAffine3,
pub world_inv: DAffine3,
}Expand description
A primitive leaf with its accumulated world transform.
Fields§
§prim: LeafPrim§world: DAffine3Local → world (renderer rotation convention, see module docs).
world_inv: DAffine3World → local (cached inverse of world).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GeomLeaf
impl RefUnwindSafe for GeomLeaf
impl Send for GeomLeaf
impl Sync for GeomLeaf
impl Unpin for GeomLeaf
impl UnsafeUnpin for GeomLeaf
impl UnwindSafe for GeomLeaf
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,
§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
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