Trait flatk::IntoOwnedData[][src]

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

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

Associated Types

Required methods

Provided methods

Implementations on Foreign Types

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

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

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

Implementors