Struct cranelift_wasm::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§
source§impl Clone for VariantType
impl Clone for VariantType
source§fn clone(&self) -> VariantType
fn clone(&self) -> VariantType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more