CowSlice1Ext

Trait CowSlice1Ext 

Source
pub trait CowSlice1Ext<'a, T>
where T: Clone,
{ // Required methods fn into_arc_slice1(self) -> ArcSlice1<T>; fn into_cow_slice(self) -> Cow<'a, [T]>; fn into_rc_slice1(self) -> RcSlice1<T>; }
Available on crate feature alloc only.

Required Methods§

Source

fn into_arc_slice1(self) -> ArcSlice1<T>

Available on target_has_atomic=ptr only.
Source

fn into_cow_slice(self) -> Cow<'a, [T]>

Source

fn into_rc_slice1(self) -> RcSlice1<T>

Implementors§

Source§

impl<'a, T> CowSlice1Ext<'a, T> for CowSlice1<'a, T>
where T: Clone,