Enum multiversx_chain_vm::types::VMTokenType
source · pub enum VMTokenType {
Fungible,
SemiFungible,
Meta,
NonFungible,
}
Variants§
Implementations§
source§impl VMTokenType
impl VMTokenType
pub fn from_system_sc_arg(raw: &[u8]) -> Self
Trait Implementations§
source§impl Clone for VMTokenType
impl Clone for VMTokenType
source§fn clone(&self) -> VMTokenType
fn clone(&self) -> VMTokenType
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 VMTokenType
impl Debug for VMTokenType
source§impl PartialEq for VMTokenType
impl PartialEq for VMTokenType
source§fn eq(&self, other: &VMTokenType) -> bool
fn eq(&self, other: &VMTokenType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for VMTokenType
impl Eq for VMTokenType
impl StructuralEq for VMTokenType
impl StructuralPartialEq for VMTokenType
Auto Trait Implementations§
impl RefUnwindSafe for VMTokenType
impl Send for VMTokenType
impl Sync for VMTokenType
impl Unpin for VMTokenType
impl UnwindSafe for VMTokenType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more