Struct parity_wasm::elements::ElementSection
[−]
[src]
pub struct ElementSection(_);
Element entries section.
Methods
impl ElementSection[src]
fn with_entries(entries: Vec<ElementSegment>) -> Self[src]
New elements section
fn entries(&self) -> &[ElementSegment][src]
New elements entries in the section
fn entries_mut(&mut self) -> &mut Vec<ElementSegment>[src]
List of all data entries in the section (mutable)
Trait Implementations
impl Default for ElementSection[src]
fn default() -> ElementSection[src]
Returns the "default value" for a type. Read more
impl Deserialize for ElementSection[src]
type Error = Error
Serialization error produced by deserialization routine.
fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>[src]
Deserialize type from serial i/o