Struct move_lang::parser::ast::StructName
source · pub struct StructName(pub Name);
Tuple Fields§
§0: Name
Trait Implementations§
source§impl Clone for StructName
impl Clone for StructName
source§fn clone(&self) -> StructName
fn clone(&self) -> StructName
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 StructName
impl Debug for StructName
source§impl Display for StructName
impl Display for StructName
source§impl Hash for StructName
impl Hash for StructName
source§impl Identifier for StructName
impl Identifier for StructName
source§impl Ord for StructName
impl Ord for StructName
source§fn cmp(&self, other: &StructName) -> Ordering
fn cmp(&self, other: &StructName) -> 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<StructName> for StructName
impl PartialEq<StructName> for StructName
source§fn eq(&self, other: &StructName) -> bool
fn eq(&self, other: &StructName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<StructName> for StructName
impl PartialOrd<StructName> for StructName
source§fn partial_cmp(&self, other: &StructName) -> Option<Ordering>
fn partial_cmp(&self, other: &StructName) -> 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 moresource§impl TName for StructName
impl TName for StructName
impl Copy for StructName
impl Eq for StructName
impl StructuralEq for StructName
impl StructuralPartialEq for StructName
Auto Trait Implementations§
impl RefUnwindSafe for StructName
impl Send for StructName
impl Sync for StructName
impl Unpin for StructName
impl UnwindSafe for StructName
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.