Trait parity_wasm::elements::Serialize [−][src]
pub trait Serialize { type Error: From<Error>; fn serialize<W: Write>(self, writer: &mut W) -> Result<(), Self::Error>; }
Serialization to serial i/o. Takes self by value to consume less memory (parity-wasm IR is being partially freed by filling the result buffer).
Associated Types
Loading content...Required methods
fn serialize<W: Write>(self, writer: &mut W) -> Result<(), Self::Error>
[src]
Serialize type to serial i/o
Implementations on Foreign Types
impl Serialize for String
[src]
impl Serialize for String
[src]Implementors
impl Serialize for Instruction
[src]
impl Serialize for Instruction
[src]impl Serialize for RelocationEntry
[src]
impl Serialize for RelocationEntry
[src]impl Serialize for TableElementType
[src]
impl Serialize for TableElementType
[src]impl Serialize for CodeSection
[src]
impl Serialize for CodeSection
[src]impl Serialize for CustomSection
[src]
impl Serialize for CustomSection
[src]impl Serialize for DataSection
[src]
impl Serialize for DataSection
[src]impl Serialize for DataSegment
[src]
impl Serialize for DataSegment
[src]impl Serialize for ElementSection
[src]
impl Serialize for ElementSection
[src]impl Serialize for ElementSegment
[src]
impl Serialize for ElementSegment
[src]impl Serialize for ExportEntry
[src]
impl Serialize for ExportEntry
[src]impl Serialize for ExportSection
[src]
impl Serialize for ExportSection
[src]impl Serialize for FunctionNameSubsection
[src]
impl Serialize for FunctionNameSubsection
[src]impl Serialize for FunctionSection
[src]
impl Serialize for FunctionSection
[src]impl Serialize for FunctionType
[src]
impl Serialize for FunctionType
[src]impl Serialize for GlobalEntry
[src]
impl Serialize for GlobalEntry
[src]impl Serialize for GlobalSection
[src]
impl Serialize for GlobalSection
[src]impl Serialize for GlobalType
[src]
impl Serialize for GlobalType
[src]impl Serialize for ImportEntry
[src]
impl Serialize for ImportEntry
[src]impl Serialize for ImportSection
[src]
impl Serialize for ImportSection
[src]impl Serialize for Instructions
[src]
impl Serialize for Instructions
[src]impl Serialize for LocalNameSubsection
[src]
impl Serialize for LocalNameSubsection
[src]impl Serialize for MemorySection
[src]
impl Serialize for MemorySection
[src]impl Serialize for MemoryType
[src]
impl Serialize for MemoryType
[src]impl Serialize for ModuleNameSubsection
[src]
impl Serialize for ModuleNameSubsection
[src]impl Serialize for NameSection
[src]
impl Serialize for NameSection
[src]impl Serialize for RelocSection
[src]
impl Serialize for RelocSection
[src]impl Serialize for ResizableLimits
[src]
impl Serialize for ResizableLimits
[src]impl Serialize for TableSection
[src]
impl Serialize for TableSection
[src]impl Serialize for TypeSection
[src]
impl Serialize for TypeSection
[src]impl<I: Serialize<Error = Error>, T: IntoIterator<Item = I>> Serialize for CountedListWriter<I, T>
[src]
impl<I: Serialize<Error = Error>, T: IntoIterator<Item = I>> Serialize for CountedListWriter<I, T>
[src]