Struct parity_wasm::elements::DataSection
[−]
[src]
pub struct DataSection(_);
Data entries definitions.
Methods
impl DataSection
[src]
fn with_entries(entries: Vec<DataSegment>) -> Self
New data section
fn entries(&self) -> &[DataSegment]
List of all data entries in the section
fn entries_mut(&mut self) -> &mut Vec<DataSegment>
List of all data entries in the section (mutable)
Trait Implementations
impl Default for DataSection
[src]
fn default() -> DataSection
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>
Deserialize type from serial i/o