Struct rs_graph::linkedlistgraph::Node [−][src]
Node of a linked list graph.
This is basically a newtype of the node index.
Trait Implementations
impl<ID: PartialEq> PartialEq for Node<ID> where
ID: PrimInt + Unsigned,
[src]
impl<ID: PartialEq> PartialEq for Node<ID> where
ID: PrimInt + Unsigned,
fn eq(&self, other: &Node<ID>) -> bool
[src]
fn eq(&self, other: &Node<ID>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Node<ID>) -> bool
[src]
fn ne(&self, other: &Node<ID>) -> bool
This method tests for !=
.
impl<ID: Eq> Eq for Node<ID> where
ID: PrimInt + Unsigned,
[src]
impl<ID: Eq> Eq for Node<ID> where
ID: PrimInt + Unsigned,
impl<ID: Clone> Clone for Node<ID> where
ID: PrimInt + Unsigned,
[src]
impl<ID: Clone> Clone for Node<ID> where
ID: PrimInt + Unsigned,
fn clone(&self) -> Node<ID>
[src]
fn clone(&self) -> Node<ID>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<ID: Copy> Copy for Node<ID> where
ID: PrimInt + Unsigned,
[src]
impl<ID: Copy> Copy for Node<ID> where
ID: PrimInt + Unsigned,
impl<ID: Debug> Debug for Node<ID> where
ID: PrimInt + Unsigned,
[src]
impl<ID: Debug> Debug for Node<ID> where
ID: PrimInt + Unsigned,
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<ID: Hash> Hash for Node<ID> where
ID: PrimInt + Unsigned,
[src]
impl<ID: Hash> Hash for Node<ID> where
ID: PrimInt + Unsigned,
fn hash<__HID: Hasher>(&self, state: &mut __HID)
[src]
fn hash<__HID: Hasher>(&self, state: &mut __HID)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl<ID> Node for Node<ID> where
ID: PrimInt + Unsigned,
[src]
impl<ID> Node for Node<ID> where
ID: PrimInt + Unsigned,
impl<ID> Display for Node<ID> where
ID: PrimInt + Unsigned + Display,
[src]
impl<ID> Display for Node<ID> where
ID: PrimInt + Unsigned + Display,
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<ID> NumberedNode for Node<ID> where
ID: PrimInt + Unsigned,
[src]
impl<ID> NumberedNode for Node<ID> where
ID: PrimInt + Unsigned,