Trait IntoOwned

Source
pub trait IntoOwned {
    type Owned;

    // Required method
    fn into_owned(self) -> Self::Owned;
}
Expand description

Convert a value into it’s owned representation.

Required Associated Types§

Required Methods§

Source

fn into_owned(self) -> Self::Owned

Implementations on Foreign Types§

Source§

impl<'a, T: Copy> IntoOwned for &'a [T]

Source§

type Owned = Vec<T>

Source§

fn into_owned(self) -> Self::Owned

Source§

impl<'a, T: Copy> IntoOwned for &'a mut [T]

Source§

type Owned = Vec<T>

Source§

fn into_owned(self) -> Self::Owned

Source§

impl<'a, T: Copy, D: DefaultDeviceAllocator> IntoOwned for &'a Ref<[T], D>

Source§

impl<'a, T: Copy, D: DefaultDeviceAllocator> IntoOwned for &'a mut Ref<[T], D>

Source§

impl<T, A: Allocator> IntoOwned for Vec<T, A>

Source§

type Owned = Vec<T, A>

Source§

fn into_owned(self) -> Self::Owned

Source§

impl<T, A: DeviceAllocator> IntoOwned for Vec<T, A>

Source§

type Owned = Vec<T, A>

Source§

fn into_owned(self) -> Self::Owned

Source§

impl<T, const N: usize> IntoOwned for [T; N]

Implementors§