Struct wast::Custom[][src]

pub struct Custom<'a> {
    pub span: Span,
    pub name: &'a str,
    pub place: CustomPlace,
    pub data: Vec<&'a [u8]>,
}

A wasm custom section within a module.

Fields

span: Span

Where this @custom was defined.

name: &'a str

Name of the custom section.

place: CustomPlace

Where the custom section is being placed,

data: Vec<&'a [u8]>

Payload of this custom section.

Trait Implementations

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

impl<'a> Parse<'a> for Custom<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Custom<'a>

impl<'a> Send for Custom<'a>

impl<'a> Sync for Custom<'a>

impl<'a> Unpin for Custom<'a>

impl<'a> UnwindSafe for Custom<'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> 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.