pub struct Node {
pub meta: Option<Meta>,
pub transform: Option<Transform>,
pub kind: NodeKind,
}Expand description
A node of the scene.
Fields§
§meta: Option<Meta>§transform: Option<Transform>The transform from the node’s space to its parent’s, or None for
the identity, which is stored apart from an identity matrix.
kind: NodeKindTrait Implementations§
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Forget for Node
impl Freeze for Node
impl Move for Node
impl RefUnwindSafe for Node
impl Send for Nodewhere
RawVecInner: Send,
impl Sync for Nodewhere
RawVecInner: Sync,
impl Unpin for Node
impl UnsafeUnpin for Nodewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
impl UnwindSafe for Nodewhere
RawVecInner: 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