Struct move_model::model::NodeId
source · pub struct NodeId(_);
Expand description
Identifier for a node in the AST, relative to a module. This is used to associate attributes with the node, like source location and type.
Implementations§
Trait Implementations§
source§impl Ord for NodeId
impl Ord for NodeId
source§impl PartialEq<NodeId> for NodeId
impl PartialEq<NodeId> for NodeId
source§impl PartialOrd<NodeId> for NodeId
impl PartialOrd<NodeId> for NodeId
1.0.0 · source§fn 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 NodeId
impl Eq for NodeId
impl StructuralEq for NodeId
impl StructuralPartialEq for NodeId
Auto Trait Implementations§
impl RefUnwindSafe for NodeId
impl Send for NodeId
impl Sync for NodeId
impl Unpin for NodeId
impl UnwindSafe for NodeId
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.