Trait rgb::ComponentBytes [−][src]
Casting a slice of RGB/A values to a slice of u8
Provided methods
fn as_bytes(&self) -> &[u8][src]
The components interpreted as raw bytes, in machine’s native endian. In RGB bytes of the red component are first.
fn as_bytes_mut(&mut self) -> &mut [u8][src]
The components interpreted as raw bytes, in machine’s native endian. In RGB bytes of the red component are first.