Struct parity_wasm::elements::ElementSection
[−]
[src]
pub struct ElementSection(_);
Element entries section.
Methods
impl ElementSection
[src]
fn new(entries: Vec<ElementSegment>) -> Self
New elements section
fn entries(&self) -> &[ElementSegment]
New elements entries in the section
fn entries_mut(&mut self) -> &mut Vec<ElementSegment>
List of all data entries in the section (mutable)
Trait Implementations
impl Default for ElementSection
[src]
fn default() -> ElementSection
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>
Deserialize type from serial i/o