Struct move_lang::expansion::ast::ModuleIdent_
source · pub struct ModuleIdent_ {
pub address: Address,
pub module: ModuleName,
}
Fields§
§address: Address
§module: ModuleName
Implementations§
source§impl ModuleIdent_
impl ModuleIdent_
pub fn new(address: Address, module: ModuleName) -> Self
Trait Implementations§
source§impl Clone for ModuleIdent_
impl Clone for ModuleIdent_
source§fn clone(&self) -> ModuleIdent_
fn clone(&self) -> ModuleIdent_
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 ModuleIdent_
impl Debug for ModuleIdent_
source§impl Display for ModuleIdent_
impl Display for ModuleIdent_
source§impl Hash for ModuleIdent_
impl Hash for ModuleIdent_
source§impl Ord for ModuleIdent_
impl Ord for ModuleIdent_
source§fn cmp(&self, other: &ModuleIdent_) -> Ordering
fn cmp(&self, other: &ModuleIdent_) -> 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<ModuleIdent_> for ModuleIdent_
impl PartialEq<ModuleIdent_> for ModuleIdent_
source§fn eq(&self, other: &ModuleIdent_) -> bool
fn eq(&self, other: &ModuleIdent_) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ModuleIdent_> for ModuleIdent_
impl PartialOrd<ModuleIdent_> for ModuleIdent_
source§fn partial_cmp(&self, other: &ModuleIdent_) -> Option<Ordering>
fn partial_cmp(&self, other: &ModuleIdent_) -> 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 ModuleIdent_
impl Eq for ModuleIdent_
impl StructuralEq for ModuleIdent_
impl StructuralPartialEq for ModuleIdent_
Auto Trait Implementations§
impl RefUnwindSafe for ModuleIdent_
impl Send for ModuleIdent_
impl Sync for ModuleIdent_
impl Unpin for ModuleIdent_
impl UnwindSafe for ModuleIdent_
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.