pub enum NodeKind {
Group {
children: Vec<usize>,
},
Leaf {
mesh: usize,
},
SharedLeaf {
resource: usize,
},
Reference {
subtree: usize,
},
}Expand description
What a node is.
Variants§
Group
A group of nodes, as indices into the scene’s nodes, in order.
Leaf
A leaf that shows a mesh, as an index into the scene’s meshes.
A leaf that shows a shared mesh, as an index into the scene’s mesh resources.
Reference
One more copy of a subtree, as an index into the scene’s subtrees.
Trait Implementations§
impl Eq for NodeKind
impl StructuralPartialEq for NodeKind
Auto Trait Implementations§
impl Forget for NodeKind
impl Freeze for NodeKind
impl Move for NodeKind
impl RefUnwindSafe for NodeKind
impl Send for NodeKind
impl Sync for NodeKind
impl Unpin for NodeKind
impl UnsafeUnpin for NodeKind
impl UnwindSafe for NodeKind
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