Struct parity_wasm::elements::FunctionSection [−][src]
pub struct FunctionSection(_);
Section with function signatures definition.
Methods
impl FunctionSection[src]
impl FunctionSectionpub fn with_entries(entries: Vec<Func>) -> Self[src]
pub fn with_entries(entries: Vec<Func>) -> SelfNew function signatures section with provided entries
pub fn entries_mut(&mut self) -> &mut Vec<Func>[src]
pub fn entries_mut(&mut self) -> &mut Vec<Func>List of all functions in the section, mutable
pub fn entries(&self) -> &[Func][src]
pub fn entries(&self) -> &[Func]List of all functions in the section
Trait Implementations
impl Default for FunctionSection[src]
impl Default for FunctionSectionfn default() -> FunctionSection[src]
fn default() -> FunctionSectionReturns the "default value" for a type. Read more
impl Debug for FunctionSection[src]
impl Debug for FunctionSectionfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for FunctionSection[src]
impl Clone for FunctionSectionfn clone(&self) -> FunctionSection[src]
fn clone(&self) -> FunctionSectionReturns 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 FunctionSection[src]
impl PartialEq for FunctionSectionfn eq(&self, other: &FunctionSection) -> bool[src]
fn eq(&self, other: &FunctionSection) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &FunctionSection) -> bool[src]
fn ne(&self, other: &FunctionSection) -> boolThis method tests for !=.
impl Deserialize for FunctionSection[src]
impl Deserialize for FunctionSectiontype Error = Error
Serialization error produced by deserialization routine.
fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>[src]
fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>Deserialize type from serial i/o
impl Serialize for FunctionSection[src]
impl Serialize for FunctionSectionAuto Trait Implementations
impl Send for FunctionSection
impl Send for FunctionSectionimpl Sync for FunctionSection
impl Sync for FunctionSection