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