Struct parity_wasm::elements::Func [−][src]
pub struct Func(_);
Function signature (type reference)
Methods
impl Func
[src]
impl Func
pub fn new(type_ref: u32) -> Self
[src]
pub fn new(type_ref: u32) -> Self
New function signature
pub fn type_ref(&self) -> u32
[src]
pub fn type_ref(&self) -> u32
Function signature type reference.
pub fn type_ref_mut(&mut self) -> &mut u32
[src]
pub fn type_ref_mut(&mut self) -> &mut u32
Function signature type reference (mutable).
Trait Implementations
impl Debug for Func
[src]
impl Debug for Func
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for Func
[src]
impl Copy for Func
impl Clone for Func
[src]
impl Clone for Func
fn clone(&self) -> Func
[src]
fn clone(&self) -> Func
Returns 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 Func
fn eq(&self, other: &Func) -> bool
[src]
fn eq(&self, other: &Func) -> bool
This 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) -> bool
This method tests for !=
.
impl Serialize for Func
[src]
impl Serialize for Func
type 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