Trait kernel::io::ArrayTrait

source ·
trait ArrayTrait {
    type Item;

    // Required method
    fn data(&self) -> &[Self::Item];
}

Required Associated Types§

Required Methods§

source

fn data(&self) -> &[Self::Item]

Implementors§

source§

impl<T> ArrayTrait for T
where T: AsRef<[u8]>,

§

type Item = u8