Struct move_model::model::NamedConstantId
source · pub struct NamedConstantId(_);
Expand description
Identifier for a named constant, relative to module.
Implementations§
Trait Implementations§
source§impl Clone for NamedConstantId
impl Clone for NamedConstantId
source§fn clone(&self) -> NamedConstantId
fn clone(&self) -> NamedConstantId
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NamedConstantId
impl Debug for NamedConstantId
source§impl Hash for NamedConstantId
impl Hash for NamedConstantId
source§impl Ord for NamedConstantId
impl Ord for NamedConstantId
source§fn cmp(&self, other: &NamedConstantId) -> Ordering
fn cmp(&self, other: &NamedConstantId) -> Ordering
1.21.0 · source§fn 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
source§impl PartialEq<NamedConstantId> for NamedConstantId
impl PartialEq<NamedConstantId> for NamedConstantId
source§fn eq(&self, other: &NamedConstantId) -> bool
fn eq(&self, other: &NamedConstantId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<NamedConstantId> for NamedConstantId
impl PartialOrd<NamedConstantId> for NamedConstantId
source§fn partial_cmp(&self, other: &NamedConstantId) -> Option<Ordering>
fn partial_cmp(&self, other: &NamedConstantId) -> Option<Ordering>
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 NamedConstantId
impl Eq for NamedConstantId
impl StructuralEq for NamedConstantId
impl StructuralPartialEq for NamedConstantId
Auto Trait Implementations§
impl RefUnwindSafe for NamedConstantId
impl Send for NamedConstantId
impl Sync for NamedConstantId
impl Unpin for NamedConstantId
impl UnwindSafe for NamedConstantId
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.