Struct parity_wasm::elements::DataSection
[−]
[src]
pub struct DataSection(_);
Data entries definitions.
Methods
impl DataSection[src]
fn with_entries(entries: Vec<DataSegment>) -> Self[src]
New data section
fn entries(&self) -> &[DataSegment][src]
List of all data entries in the section
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 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