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