[][src]Trait flatk::IntoOwnedData

pub trait IntoOwnedData where
    Self: Sized
{ type OwnedData; fn into_owned_data(self) -> Self::OwnedData; fn clone_into(self, target: &mut Self::OwnedData) { ... } }

In contrast to IntoOwned, this trait produces a clone with owned data, but potentially borrowed structure of the collection.

Associated Types

Loading content...

Required methods

fn into_owned_data(self) -> Self::OwnedData

Loading content...

Provided methods

fn clone_into(self, target: &mut Self::OwnedData)

Loading content...

Implementations on Foreign Types

impl<T> IntoOwnedData for Range<T>[src]

type OwnedData = Self

impl<T> IntoOwnedData for RangeTo<T>[src]

type OwnedData = Self

impl<S: IntoOwnedData, T: IntoOwnedData> IntoOwnedData for (S, T)[src]

impl<T> IntoOwnedData for Vec<T>[src]

Since Vec already owns its data, this is simply a noop.

type OwnedData = Self

impl<'_, S: ToOwned + ?Sized> IntoOwnedData for &'_ S[src]

Blanked implementation of IntoOwnedData for references of types that are already std::borrow::ToOwned.

type OwnedData = S::Owned

impl<'_, S: ToOwned + ?Sized> IntoOwnedData for &'_ mut S[src]

Blanked implementation of IntoOwnedData for mutable references of types that are already std::borrow::ToOwned.

type OwnedData = S::Owned

Loading content...

Implementors

impl<S, I> IntoOwnedData for Select<S, I> where
    S: IntoOwnedData
[src]

impl<S, I> IntoOwnedData for Subset<S, I> where
    S: IntoOwnedData
[src]

impl<S, N> IntoOwnedData for UniChunked<S, N> where
    S: IntoOwnedData,
    N: Copy
[src]

impl<S, O> IntoOwnedData for Chunked<S, O> where
    S: IntoOwnedData
[src]

impl<S, T, I> IntoOwnedData for Sparse<S, T, I> where
    S: IntoOwnedData
[src]

type OwnedData = Sparse<S::OwnedData, T, I>

Loading content...