pub trait ToOwnedMemory: Memory {
    type Owned: Owned<Item = Self::Item>;

    // Required method
    fn to_owned_memory(&self) -> Self::Owned;
}

Required Associated Types§

source

type Owned: Owned<Item = Self::Item>

Required Methods§

source

fn to_owned_memory(&self) -> Self::Owned

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'a, T> ToOwnedMemory for ViewMem<'a, T>
where T: Num,

§

type Owned = OwnedMem<T>

source§

impl<'a, T> ToOwnedMemory for ViewMutMem<'a, T>
where T: Num,

§

type Owned = OwnedMem<T>

source§

impl<T: Num> ToOwnedMemory for OwnedMem<T>

§

type Owned = OwnedMem<T>