pub enum NodeIndex {
Root,
Branch(Index),
}
Expand description
A node index into the SceneGraph.
Variants§
Root
Signifies that the index corresponds to the root of the graph.
Branch(Index)
Signifies a non-root node.
Implementations§
Trait Implementations§
Source§impl Ord for NodeIndex
impl Ord for NodeIndex
Source§impl PartialOrd for NodeIndex
impl PartialOrd for NodeIndex
impl Copy for NodeIndex
impl Eq for NodeIndex
impl StructuralPartialEq for NodeIndex
Auto Trait Implementations§
impl Freeze for NodeIndex
impl RefUnwindSafe for NodeIndex
impl Send for NodeIndex
impl Sync for NodeIndex
impl Unpin for NodeIndex
impl UnwindSafe for NodeIndex
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