Struct parity_wasm::elements::DataSection
[−]
[src]
pub struct DataSection(_);
Data entries definitions.
Methods
impl DataSection
[src]
pub fn with_entries(entries: Vec<DataSegment>) -> Self
[src]
New data section
pub fn entries(&self) -> &[DataSegment]
[src]
List of all data entries in the section
pub fn entries_mut(&mut self) -> &mut Vec<DataSegment>
[src]
List of all data entries in the section (mutable)
Trait Implementations
impl Default for DataSection
[src]
fn default() -> DataSection
[src]
Returns the "default value" for a type. Read more
impl Debug for DataSection
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for DataSection
[src]
fn clone(&self) -> DataSection
[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 DataSection
[src]
fn eq(&self, __arg_0: &DataSection) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DataSection) -> bool
[src]
This method tests for !=
.
impl Deserialize for DataSection
[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