[][src]Struct wasmer_runtime_core::structures::BoxedMap

pub struct BoxedMap<K, V> where
    K: TypedIndex
{ /* fields omitted */ }

Methods from Deref<Target = SliceMap<K, V>>

pub fn get(&self, index: K) -> Option<&V>[src]

pub fn get_mut(&mut self, index: K) -> Option<&mut V>[src]

pub fn len(&self) -> usize[src]

Important traits for Iter<'a, K, V>
pub fn iter(&self) -> Iter<K, V>[src]

Important traits for IterMut<'a, K, V>
pub fn iter_mut(&mut self) -> IterMut<K, V>[src]

pub fn as_ptr(&self) -> *const V[src]

pub fn as_mut_ptr(&mut self) -> *mut V[src]

Trait Implementations

impl<K: Clone, V: Clone> Clone for BoxedMap<K, V> where
    K: TypedIndex
[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<K, V> Deref for BoxedMap<K, V> where
    K: TypedIndex
[src]

type Target = SliceMap<K, V>

The resulting type after dereferencing.

impl<K: Debug, V: Debug> Debug for BoxedMap<K, V> where
    K: TypedIndex
[src]

impl<K, V> DerefMut for BoxedMap<K, V> where
    K: TypedIndex
[src]

Auto Trait Implementations

impl<K, V> Send for BoxedMap<K, V> where
    K: Send,
    V: Send

impl<K, V> Sync for BoxedMap<K, V> where
    K: Sync,
    V: Sync

Blanket Implementations

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.

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

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

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

impl<T> Erased for T