Struct wasm_encoder::DataSegment[][src]

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.

Trait Implementations

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

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

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

Auto Trait Implementations

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

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

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

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

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

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