Struct parity_wasm::elements::MemorySection [−][src]
pub struct MemorySection(_);
Section with table definition (currently only one entry is allowed).
Implementations
impl MemorySection[src]
impl MemorySection[src]pub fn entries(&self) -> &[MemoryType][src]
List of all memory entries in the section
pub fn with_entries(entries: Vec<MemoryType>) -> Self[src]
New memory section with memory types.
pub fn entries_mut(&mut self) -> &mut Vec<MemoryType>[src]
Mutable list of all memory entries in the section.
Trait Implementations
impl Clone for MemorySection[src]
impl Clone for MemorySection[src]fn clone(&self) -> MemorySection[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Default for MemorySection[src]
impl Default for MemorySection[src]fn default() -> MemorySection[src]
impl Deserialize for MemorySection[src]
impl Deserialize for MemorySection[src]impl PartialEq<MemorySection> for MemorySection[src]
impl PartialEq<MemorySection> for MemorySection[src]fn eq(&self, other: &MemorySection) -> bool[src]
fn ne(&self, other: &MemorySection) -> bool[src]
impl Serialize for MemorySection[src]
impl Serialize for MemorySection[src]