std_traits::slice

Trait Slice

source
pub trait Slice: Primitive {
    type Item;
}

Required Associated Types§

Implementations on Foreign Types§

source§

impl Slice for str

source§

impl<T> Slice for [T]

source§

type Item = T

Implementors§