Struct parity_wasm::elements::Local  
                   
                       [−]
                   
               [src]
pub struct Local { /* fields omitted */ }Local definition inside the function body.
Methods
impl Local[src]
fn new(count: u32, value_type: ValueType) -> Self
New local with count and value_type.
fn count(&self) -> u32
Number of locals with the shared type.
fn value_type(&self) -> ValueType
Type of the locals.
Trait Implementations
impl Debug for Local[src]
impl Deserialize for Local[src]
type Error = Error
Serialization error produced by deserialization routine.
fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>
Deserialize type from serial i/o