Trait flatk::IntoOwned [−][src]
pub trait IntoOwned where
Self: Sized, {
type Owned;
fn into_owned(self) -> Self::Owned;
fn clone_into(self, target: &mut Self::Owned) { ... }
}
Expand description
An analog to the ToOwned
trait from std
that works for chunked views.
As the name suggests, this version of ToOwned
takes self
by value.
Associated Types
Required methods
fn into_owned(self) -> Self::Owned
Provided methods
fn clone_into(self, target: &mut Self::Owned)
Implementations on Foreign Types
Blanket implementation of IntoOwned
for references of types that are already
std::borrow::ToOwned
.
Blanket implementation of IntoOwned
for mutable references of types that are
already std::borrow::ToOwned
.