Struct parity_wasm::elements::ElementSection
[−]
[src]
pub struct ElementSection(_);
Element entries section.
Methods
impl ElementSection
[src]
pub fn with_entries(entries: Vec<ElementSegment>) -> Self
[src]
New elements section
pub fn entries(&self) -> &[ElementSegment]
[src]
New elements entries in the section
pub 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 Debug for ElementSection
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for ElementSection
[src]
fn clone(&self) -> ElementSection
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for ElementSection
[src]
fn eq(&self, __arg_0: &ElementSection) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ElementSection) -> bool
[src]
This method tests for !=
.
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