Enum move_lang::parser::ast::NameAccessChain_
source · pub enum NameAccessChain_ {
One(Name),
Two(LeadingNameAccess, Name),
Three(Spanned<(LeadingNameAccess, Name)>, Name),
}
Variants§
Trait Implementations§
source§impl Clone for NameAccessChain_
impl Clone for NameAccessChain_
source§fn clone(&self) -> NameAccessChain_
fn clone(&self) -> NameAccessChain_
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 NameAccessChain_
impl Debug for NameAccessChain_
source§impl Display for NameAccessChain_
impl Display for NameAccessChain_
source§impl PartialEq<NameAccessChain_> for NameAccessChain_
impl PartialEq<NameAccessChain_> for NameAccessChain_
source§fn eq(&self, other: &NameAccessChain_) -> bool
fn eq(&self, other: &NameAccessChain_) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for NameAccessChain_
impl StructuralEq for NameAccessChain_
impl StructuralPartialEq for NameAccessChain_
Auto Trait Implementations§
impl RefUnwindSafe for NameAccessChain_
impl Send for NameAccessChain_
impl Sync for NameAccessChain_
impl Unpin for NameAccessChain_
impl UnwindSafe for NameAccessChain_
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.