Struct wasmparser_nostd::types::VariantType
source · [−]pub struct VariantType {
pub cases: IndexMap<String, VariantCase>,
/* private fields */
}
Expand description
Represents a variant type.
Fields
cases: IndexMap<String, VariantCase>
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 moreAuto 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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