[][src]Struct wasmer_runtime_core::memory::LinearMemory

pub struct LinearMemory { /* fields omitted */ }

A linear memory instance.

Methods

impl LinearMemory
[src]

It holds the raw bytes of memory accessed by a WebAssembly Instance

pub fn pages(&self) -> u32
[src]

pub fn max(&self) -> u32
[src]

Returns the maximum number of wasm pages allowed.

Trait Implementations

impl Debug for LinearMemory
[src]

impl DerefMut for LinearMemory
[src]

impl Deref for LinearMemory
[src]

type Target = [u8]

The resulting type after dereferencing.

Auto Trait Implementations

impl !Send for LinearMemory

impl !Sync for LinearMemory

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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