Struct parity_wasm_cp::elements::FunctionSection [−][src]
pub struct FunctionSection(_);
Section with function signatures definition.
Methods
impl FunctionSection
[src]
impl FunctionSection
pub fn with_entries(entries: Vec<Func>) -> Self
[src]
pub fn with_entries(entries: Vec<Func>) -> Self
New 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 FunctionSection
fn default() -> FunctionSection
[src]
fn default() -> FunctionSection
Returns the "default value" for a type. Read more
impl Debug for FunctionSection
[src]
impl Debug for FunctionSection
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 Clone for FunctionSection
[src]
impl Clone for FunctionSection
fn clone(&self) -> FunctionSection
[src]
fn clone(&self) -> FunctionSection
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 FunctionSection
[src]
impl PartialEq for FunctionSection
fn eq(&self, other: &FunctionSection) -> bool
[src]
fn eq(&self, other: &FunctionSection) -> bool
This 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) -> bool
This method tests for !=
.
impl Deserialize for FunctionSection
[src]
impl Deserialize for FunctionSection
type 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 FunctionSection
Auto Trait Implementations
impl Send for FunctionSection
impl Send for FunctionSection
impl Sync for FunctionSection
impl Sync for FunctionSection