pub struct CppnNodeIndex(/* private fields */);
Expand description
Newtype wrapping a node index. The node index is used as an internal index into the node array. It can become unstable in case of removal of nodes.
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