Struct wasmtime_environ::wasmparser::types::VariantType
source · [−]pub struct VariantType {
pub cases: IndexMap<String, VariantCase, RandomState>,
/* private fields */
}Expand description
Represents a variant type.
Fields
cases: IndexMap<String, VariantCase, RandomState>The map of variant cases.
Trait Implementations
sourceimpl Clone for VariantType
impl Clone for VariantType
sourcefn clone(&self) -> VariantType
fn clone(&self) -> VariantType
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
Auto Trait Implementations
impl RefUnwindSafe for VariantType
impl Send for VariantType
impl Sync for VariantType
impl Unpin for VariantType
impl UnwindSafe for VariantType
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