Enum web_assembler::ImportKind [−][src]
pub enum ImportKind {
Function(TypeIndex),
Table(TableType),
Memory(MemoryType),
Global(GlobalType),
}Variants
Function(TypeIndex)Table(TableType)Memory(MemoryType)Global(GlobalType)
Methods
impl ImportKind[src]
impl ImportKindpub fn is_function(&self) -> bool[src]
pub fn is_function(&self) -> boolpub fn is_table(&self) -> bool[src]
pub fn is_table(&self) -> boolpub fn is_memory(&self) -> bool[src]
pub fn is_memory(&self) -> boolpub fn is_global(&self) -> bool[src]
pub fn is_global(&self) -> boolTrait Implementations
impl Debug for ImportKind[src]
impl Debug for ImportKindfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for ImportKind[src]
impl Clone for ImportKindfn clone(&self) -> ImportKind[src]
fn clone(&self) -> ImportKindReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Dump for ImportKind[src]
impl Dump for ImportKindAuto Trait Implementations
impl Send for ImportKind
impl Send for ImportKindimpl Sync for ImportKind
impl Sync for ImportKind