[][src]Struct wasm_encoder::DataSegment

pub struct DataSegment<'a, D> {
    pub mode: DataSegmentMode<'a>,
    pub data: D,
}

A segment in the data section.

Fields

mode: DataSegmentMode<'a>

This data segment's mode.

data: D

This data segment's data.

Auto Trait Implementations

impl<'a, D> RefUnwindSafe for DataSegment<'a, D> where
    D: RefUnwindSafe
[src]

impl<'a, D> Send for DataSegment<'a, D> where
    D: Send
[src]

impl<'a, D> Sync for DataSegment<'a, D> where
    D: Sync
[src]

impl<'a, D> Unpin for DataSegment<'a, D> where
    D: Unpin
[src]

impl<'a, D> UnwindSafe for DataSegment<'a, D> where
    D: UnwindSafe
[src]

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.