pub struct NodeHandle { /* private fields */ }
Expand description
Used by users to keep track of nodes that are saved in the DAG.
Implementations
Trait Implementations
sourceimpl Clone for NodeHandle
impl Clone for NodeHandle
sourcefn clone(&self) -> NodeHandle
fn clone(&self) -> NodeHandle
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for NodeHandle
impl Debug for NodeHandle
sourceimpl Default for NodeHandle
impl Default for NodeHandle
sourcefn default() -> NodeHandle
fn default() -> NodeHandle
Returns the “default value” for a type. Read more
sourceimpl From<usize> for NodeHandle
impl From<usize> for NodeHandle
sourceimpl Hash for NodeHandle
impl Hash for NodeHandle
sourceimpl Ord for NodeHandle
impl Ord for NodeHandle
sourcefn cmp(&self, other: &NodeHandle) -> Ordering
fn cmp(&self, other: &NodeHandle) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<NodeHandle> for NodeHandle
impl PartialEq<NodeHandle> for NodeHandle
sourcefn eq(&self, other: &NodeHandle) -> bool
fn eq(&self, other: &NodeHandle) -> bool
sourceimpl PartialOrd<NodeHandle> for NodeHandle
impl PartialOrd<NodeHandle> for NodeHandle
sourcefn partial_cmp(&self, other: &NodeHandle) -> Option<Ordering>
fn partial_cmp(&self, other: &NodeHandle) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for NodeHandle
impl Eq for NodeHandle
impl StructuralEq for NodeHandle
impl StructuralPartialEq for NodeHandle
Auto Trait Implementations
impl RefUnwindSafe for NodeHandle
impl Send for NodeHandle
impl Sync for NodeHandle
impl Unpin for NodeHandle
impl UnwindSafe for NodeHandle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more