[][src]Enum watson::SectionView

#[repr(C)]pub enum SectionView<'a> {
    Type(TypeSection),
    Function(FunctionSection),
    Code(CodeSection),
    Export(ExportSectionView<'a>),
    Import(ImportSectionView<'a>),
    Memory(MemorySection),
    Start(StartSection),
    Global(GlobalSection),
    Table(TableSection),
    Data(DataSectionView<'a>),
    Custom(CustomSectionView<'a>),
    Element(ElementSection),
}

Variants

Function(FunctionSection)
Export(ExportSectionView<'a>)
Import(ImportSectionView<'a>)
Data(DataSectionView<'a>)
Custom(CustomSectionView<'a>)

Implementations

impl<'a> SectionView<'a>[src]

pub fn to_owned(&self) -> Section[src]

Trait Implementations

impl<'a> Debug for SectionView<'a>[src]

impl<'de: 'a, 'a> Deserialize<'de> for SectionView<'a>[src]

impl<'a> PartialEq<SectionView<'a>> for SectionView<'a>[src]

impl<'a> Serialize for SectionView<'a>[src]

impl<'a> StructuralPartialEq for SectionView<'a>[src]

Auto Trait Implementations

impl<'a> Send for SectionView<'a>

impl<'a> Sync for SectionView<'a>

impl<'a> Unpin for SectionView<'a>

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, 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.