Trait rgb::ComponentSlice [−][src]
Casting the struct to slices of its components
Required methods
fn as_slice(&self) -> &[T]
[src]
The components interpreted as an array, e.g. one RGB
expands to 3 elements.
It’s implemented for individual pixels as well as slices of pixels.