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
[src]
New local with count
and value_type
.
fn count(&self) -> u32
[src]
Number of locals with the shared type.
fn value_type(&self) -> ValueType
[src]
Type of the locals.
Trait Implementations
impl Debug for Local
[src]
impl Copy for Local
[src]
impl Clone for Local
[src]
fn clone(&self) -> Local
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
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>
[src]
Deserialize type from serial i/o