DataCloneAPI

Trait DataCloneAPI 

Source
pub trait DataCloneAPI: DataAPI
where Self::Data: Clone,
{ // Required methods fn into_owned(self) -> DataOwned<Self::Data>; fn into_shared(self) -> DataArc<Self::Data>; }

Required Methods§

Source

fn into_owned(self) -> DataOwned<Self::Data>

Source

fn into_shared(self) -> DataArc<Self::Data>

Implementors§

Source§

impl<C> DataCloneAPI for DataCow<'_, C>
where C: Clone,

Source§

impl<C> DataCloneAPI for DataMut<'_, C>
where C: Clone,

Source§

impl<C> DataCloneAPI for DataRef<'_, C>
where C: Clone,

Source§

impl<C> DataCloneAPI for DataReference<'_, C>
where C: Clone,

Source§

impl<C> DataCloneAPI for DataArc<C>
where C: Clone,

Source§

impl<C> DataCloneAPI for DataOwned<C>
where C: Clone,