Struct parity_wasm::elements::CustomSection
[−]
[src]
pub struct CustomSection { /* fields omitted */ }
Custom section
Methods
impl CustomSection
[src]
fn name(&self) -> &str
Name of the custom section
fn payload(&self) -> &[u8]
Payload of the custom secion
fn name_mut(&mut self) -> &mut String
Name of the custom section (mutable)
fn payload_mut(&mut self) -> &mut Vec<u8>
Payload of the custom section (mutable)
Trait Implementations
impl Deserialize for CustomSection
[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