Trait 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]>,