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

Provided methods

Implementations on Foreign Types

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

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.

Implementors