[][src]Enum watson::Section

#[repr(C)]pub enum Section {
    Type(TypeSection),
    Function(FunctionSection),
    Code(CodeSection),
    Export(ExportSection),
    Import(ImportSection),
    Memory(MemorySection),
    Start(StartSection),
    Global(GlobalSection),
    Table(TableSection),
    Data(DataSection),
    Custom(CustomSection),
    Element(ElementSection),
}

Variants

Function(FunctionSection)

Implementations

impl Section[src]

pub fn id(&self) -> u32[src]

Trait Implementations

impl Clone for Section[src]

impl Debug for Section[src]

impl<'de> Deserialize<'de> for Section[src]

impl PartialEq<Section> for Section[src]

impl Serialize for Section[src]

impl StructuralPartialEq for Section[src]

Auto Trait Implementations

impl Send for Section

impl Sync for Section

impl Unpin for Section

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.