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
fn into_owned_data(self) -> Self::OwnedData
Provided methods
fn clone_into(self, target: &mut Self::OwnedData)
Implementations on Foreign Types
type OwnedData = Self
type OwnedData = Self
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
.