pub struct NodeTuple(/* private fields */);Implementations§
Source§impl NodeTuple
impl NodeTuple
pub fn get(&self, index: usize) -> Option<NodeId>
pub fn push(&mut self, node_id: NodeId) -> Result<(), InsertErrorKind>
pub fn add_at( &mut self, index: u8, node_id: NodeId, ) -> Result<(), InsertErrorKind>
pub fn to_vec(&self) -> Vec<NodeId>
pub fn from_vec(vec: Vec<NodeId>) -> Self
Trait Implementations§
Source§impl IntoIterator for NodeTuple
impl IntoIterator for NodeTuple
impl Eq for NodeTuple
impl StructuralPartialEq for NodeTuple
Auto Trait Implementations§
impl Freeze for NodeTuple
impl RefUnwindSafe for NodeTuple
impl Send for NodeTuple
impl Sync for NodeTuple
impl Unpin for NodeTuple
impl UnwindSafe for NodeTuple
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.