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 ImportKind
pub fn is_function(&self) -> bool
[src]
pub fn is_function(&self) -> bool
pub fn is_table(&self) -> bool
[src]
pub fn is_table(&self) -> bool
pub fn is_memory(&self) -> bool
[src]
pub fn is_memory(&self) -> bool
pub fn is_global(&self) -> bool
[src]
pub fn is_global(&self) -> bool
Trait Implementations
impl Debug for ImportKind
[src]
impl Debug for ImportKind
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ImportKind
[src]
impl Clone for ImportKind
fn clone(&self) -> ImportKind
[src]
fn clone(&self) -> ImportKind
Returns 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 ImportKind
Auto Trait Implementations
impl Send for ImportKind
impl Send for ImportKind
impl Sync for ImportKind
impl Sync for ImportKind