Trait rgb::ComponentBytes [] [src]

pub trait ComponentBytes<T> {
    fn as_slice(&self) -> &[T];
    fn as_mut_slice(&mut self) -> &mut [T];

    fn as_bytes(&self) -> &[u8] { ... }
}

Required Methods

fn as_slice(&self) -> &[T]

fn as_mut_slice(&mut self) -> &mut [T]

Provided Methods

fn as_bytes(&self) -> &[u8]

Implementors