Struct runiter_wot::data::NodeId [−][src]
pub struct NodeId(pub usize);
Wrapper for a node id.
Trait Implementations
impl Debug for NodeId
[src]
impl Debug for NodeId
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 Copy for NodeId
[src]
impl Copy for NodeId
impl Clone for NodeId
[src]
impl Clone for NodeId
fn clone(&self) -> NodeId
[src]
fn clone(&self) -> NodeId
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 PartialEq for NodeId
[src]
impl PartialEq for NodeId
fn eq(&self, other: &NodeId) -> bool
[src]
fn eq(&self, other: &NodeId) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &NodeId) -> bool
[src]
fn ne(&self, other: &NodeId) -> bool
This method tests for !=
.
impl Eq for NodeId
[src]
impl Eq for NodeId
impl Hash for NodeId
[src]
impl Hash for NodeId
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
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 Serialize for NodeId
[src]
impl Serialize for NodeId
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'de> Deserialize<'de> for NodeId
[src]
impl<'de> Deserialize<'de> for NodeId
fn deserialize<D>(deserializer: D) -> Result<NodeId, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<NodeId, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more