Trait alloc::rc::RcFromSlice

source ·
trait RcFromSlice<T> {
    // Required method
    fn from_slice(slice: &[T]) -> Self;
}
Expand description

Specialization trait used for From<&[T]>.

Required Methods§

source

fn from_slice(slice: &[T]) -> Self

Implementors§

source§

impl<T: Clone> RcFromSlice<T> for Rc<[T]>

source§

impl<T: Copy> RcFromSlice<T> for Rc<[T]>