Struct bytecode_interpreter::concrete::ty::StructInstantiation
source · pub struct StructInstantiation {
pub ident: StructIdent,
pub insts: Vec<BaseType>,
pub fields: Vec<StructField>,
}
Fields§
§ident: StructIdent
§insts: Vec<BaseType>
§fields: Vec<StructField>
Implementations§
source§impl StructInstantiation
impl StructInstantiation
pub fn to_move_struct_tag(&self) -> StructTag
pub fn to_move_struct_layout(&self) -> MoveStructLayout
Trait Implementations§
source§impl Clone for StructInstantiation
impl Clone for StructInstantiation
source§fn clone(&self) -> StructInstantiation
fn clone(&self) -> StructInstantiation
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 StructInstantiation
impl Debug for StructInstantiation
source§impl Display for StructInstantiation
impl Display for StructInstantiation
source§impl Ord for StructInstantiation
impl Ord for StructInstantiation
source§fn cmp(&self, other: &StructInstantiation) -> Ordering
fn cmp(&self, other: &StructInstantiation) -> 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<StructInstantiation> for StructInstantiation
impl PartialEq<StructInstantiation> for StructInstantiation
source§fn eq(&self, other: &StructInstantiation) -> bool
fn eq(&self, other: &StructInstantiation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<StructInstantiation> for StructInstantiation
impl PartialOrd<StructInstantiation> for StructInstantiation
source§fn partial_cmp(&self, other: &StructInstantiation) -> Option<Ordering>
fn partial_cmp(&self, other: &StructInstantiation) -> 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 StructInstantiation
impl StructuralEq for StructInstantiation
impl StructuralPartialEq for StructInstantiation
Auto Trait Implementations§
impl RefUnwindSafe for StructInstantiation
impl Send for StructInstantiation
impl Sync for StructInstantiation
impl Unpin for StructInstantiation
impl UnwindSafe for StructInstantiation
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.