Struct parity_wasm::elements::Func [−][src]
pub struct Func(_);
Function signature (type reference)
Methods
impl Func[src]
impl Funcpub fn new(type_ref: u32) -> Self[src]
pub fn new(type_ref: u32) -> SelfNew function signature
pub fn type_ref(&self) -> u32[src]
pub fn type_ref(&self) -> u32Function signature type reference.
pub fn type_ref_mut(&mut self) -> &mut u32[src]
pub fn type_ref_mut(&mut self) -> &mut u32Function signature type reference (mutable).
Trait Implementations
impl Debug for Func[src]
impl Debug for Funcfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for Func[src]
impl Copy for Funcimpl Clone for Func[src]
impl Clone for Funcfn clone(&self) -> Func[src]
fn clone(&self) -> FuncReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for Func[src]
impl PartialEq for Funcfn eq(&self, other: &Func) -> bool[src]
fn eq(&self, other: &Func) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Func) -> bool[src]
fn ne(&self, other: &Func) -> boolThis method tests for !=.
impl Serialize for Func[src]
impl Serialize for Functype Error = Error
Serialization error produced by serialization routine.
fn serialize<W: Write>(self, writer: &mut W) -> Result<(), Self::Error>[src]
fn serialize<W: Write>(self, writer: &mut W) -> Result<(), Self::Error>Serialize type to serial i/o
impl Deserialize for Func[src]
impl Deserialize for Func