Struct bytecode_interpreter::shared::ident::ModuleIdent
source · pub struct ModuleIdent {
pub address: AccountAddress,
pub name: String,
}
Fields§
§address: AccountAddress
§name: String
Implementations§
source§impl ModuleIdent
impl ModuleIdent
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 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 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.