Struct parity_wasm::elements::ElementSection [−][src]
pub struct ElementSection(_);
Element entries section.
Methods
impl ElementSection[src]
impl ElementSectionpub fn with_entries(entries: Vec<ElementSegment>) -> Self[src]
pub fn with_entries(entries: Vec<ElementSegment>) -> SelfNew elements section
pub fn entries(&self) -> &[ElementSegment][src]
pub fn entries(&self) -> &[ElementSegment]New elements entries in the section
pub fn entries_mut(&mut self) -> &mut Vec<ElementSegment>[src]
pub fn entries_mut(&mut self) -> &mut Vec<ElementSegment>List of all data entries in the section (mutable)
Trait Implementations
impl Default for ElementSection[src]
impl Default for ElementSectionfn default() -> ElementSection[src]
fn default() -> ElementSectionReturns the "default value" for a type. Read more
impl Debug for ElementSection[src]
impl Debug for ElementSectionfn 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 ElementSection[src]
impl Clone for ElementSectionfn clone(&self) -> ElementSection[src]
fn clone(&self) -> ElementSectionReturns 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 ElementSection[src]
impl PartialEq for ElementSectionfn eq(&self, other: &ElementSection) -> bool[src]
fn eq(&self, other: &ElementSection) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ElementSection) -> bool[src]
fn ne(&self, other: &ElementSection) -> boolThis method tests for !=.
impl Deserialize for ElementSection[src]
impl Deserialize for ElementSectiontype 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 ElementSection[src]
impl Serialize for ElementSectionAuto Trait Implementations
impl Send for ElementSection
impl Send for ElementSectionimpl Sync for ElementSection
impl Sync for ElementSection