[][src]Struct wasmer_runtime_core_fl::memory::MemoryView

pub struct MemoryView<'a, T: 'a, A = NonAtomically> { /* fields omitted */ }

A view into a memory.

Implementations

impl<'a, T> MemoryView<'a, T, NonAtomically> where
    T: ValueType
[src]

pub unsafe fn new(ptr: *mut T, length: u32) -> Self[src]

Creates new memory view from raw parts.

impl<'a, T: Atomic> MemoryView<'a, T>[src]

pub fn atomically(&self) -> MemoryView<'a, T::Output, Atomically>[src]

Get atomic access to a memory view.

Trait Implementations

impl<'a, T> Deref for MemoryView<'a, T, NonAtomically>[src]

type Target = [Cell<T>]

The resulting type after dereferencing.

impl<'a, T> Deref for MemoryView<'a, T, Atomically>[src]

type Target = [T]

The resulting type after dereferencing.

Auto Trait Implementations

impl<'a, T, A = NonAtomically> !RefUnwindSafe for MemoryView<'a, T, A>

impl<'a, T, A = NonAtomically> !Send for MemoryView<'a, T, A>

impl<'a, T, A = NonAtomically> !Sync for MemoryView<'a, T, A>

impl<'a, T, A> Unpin for MemoryView<'a, T, A> where
    A: Unpin

impl<'a, T, A = NonAtomically> !UnwindSafe for MemoryView<'a, T, A>

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> Same<T> for T

type Output = T

Should always be Self

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.