Trait sharify::ShmemViewMut[][src]

pub trait ShmemViewMut<'a>: ShmemBacked {
    type View;
    fn view_mut(
        data: &'a mut [u8],
        metadata: &'a mut Self::MetaData
    ) -> Self::View; }

An mutable view into shared memory.

Associated Types

Loading content...

Required methods

fn view_mut(data: &'a mut [u8], metadata: &'a mut Self::MetaData) -> Self::View[src]

Creates a Self::View into the shared memory at data based on the information in metadata.

Loading content...

Implementations on Foreign Types

impl<'a> ShmemViewMut<'a> for str[src]

type View = &'a mut str

impl<'a, T> ShmemViewMut<'a> for [T] where
    T: Copy + 'a, 
[src]

type View = &'a mut [T]

impl<'a, T, D> ShmemViewMut<'a> for Array<T, D> where
    T: Copy + Default + 'a,
    D: Dimension + Serialize + DeserializeOwned
[src]

type View = ArrayViewMut<'a, T, D>

Loading content...

Implementors

Loading content...