Struct parity_wasm::elements::Func
[−]
[src]
pub struct Func(_);
Function signature (type reference)
Methods
impl Func
[src]
pub fn new(type_ref: u32) -> Self
[src]
New function signature
pub fn type_ref(&self) -> u32
[src]
Function signature type reference.
pub fn type_ref_mut(&mut self) -> &mut u32
[src]
Function signature type reference (mutable).
Trait Implementations
impl Debug for Func
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for Func
[src]
impl Clone for Func
[src]
fn clone(&self) -> Func
[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 Serialize for Func
[src]
type Error = Error
Serialization error produced by serialization routine.
fn serialize<W: Write>(self, writer: &mut W) -> Result<(), Self::Error>
[src]
Serialize type to serial i/o