[][src]Struct wit_text::StringToMemory

pub struct StringToMemory<'a> {
    pub malloc: Index<'a>,
    pub mem: Index<'a>,

Payload of the string-to-memory instruction


malloc: Index<'a>

Function which is used as a memory allocator to allocate memory to place the string in mem.

mem: Index<'a>

Index of the memory that the string is coming from.

Trait Implementations

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

Auto Trait Implementations

impl<'a> Send for StringToMemory<'a>

impl<'a> Sync for StringToMemory<'a>

impl<'a> Unpin for StringToMemory<'a>

impl<'a> UnwindSafe for StringToMemory<'a>

impl<'a> RefUnwindSafe for StringToMemory<'a>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Any for T where
    T: 'static + ?Sized