[][src]Enum walrus::DataKind

pub enum DataKind {
    Active(ActiveData),
    Passive,
}

The kind of data segment: passive or active.

Variants

Active(ActiveData)

An active data segment that is automatically initialized at some address in a static memory.

Passive

A passive data segment that must be manually initialized at a dynamic address via the memory.init instruction (perhaps multiple times in multiple different memories) and then manually freed when it's no longer needed via the data.drop instruction.

Trait Implementations

impl Debug for DataKind[src]

Auto Trait Implementations

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.