Enum wasmparser::types::EntityType
source · [−]pub enum EntityType {
Func(TypeId),
Table(TableType),
Memory(MemoryType),
Global(GlobalType),
Tag(TypeId),
}
Expand description
The entity type for imports and exports of a module.
Variants
Func(TypeId)
The entity is a function.
Table(TableType)
The entity is a table.
Memory(MemoryType)
The entity is a memory.
Global(GlobalType)
The entity is a global.
Tag(TypeId)
The entity is a tag.
Implementations
sourceimpl EntityType
impl EntityType
Trait Implementations
sourceimpl Clone for EntityType
impl Clone for EntityType
sourcefn clone(&self) -> EntityType
fn clone(&self) -> EntityType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for EntityType
impl Debug for EntityType
impl Copy for EntityType
Auto Trait Implementations
impl RefUnwindSafe for EntityType
impl Send for EntityType
impl Sync for EntityType
impl Unpin for EntityType
impl UnwindSafe for EntityType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more