Enum move_vm_types::loaded_data::runtime_types::Type
source · pub enum Type {
Bool,
U8,
U64,
U128,
Address,
Signer,
Vector(Box<Type>),
Struct(usize),
StructInstantiation(usize, Vec<Type>),
Reference(Box<Type>),
MutableReference(Box<Type>),
TyParam(usize),
}
Variants§
Bool
U8
U64
U128
Address
Signer
Vector(Box<Type>)
Struct(usize)
StructInstantiation(usize, Vec<Type>)
Reference(Box<Type>)
MutableReference(Box<Type>)
TyParam(usize)
Implementations§
Trait Implementations§
source§impl Ord for Type
impl Ord for Type
source§impl PartialEq<Type> for Type
impl PartialEq<Type> for Type
source§impl PartialOrd<Type> for Type
impl PartialOrd<Type> for Type
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 more