pub struct Rgb8;Expand description
8-bit RGB: three interleaved bytes per pixel, row-major.
Trait Implementations§
impl Copy for Rgb8
impl Eq for Rgb8
Source§impl Pixel for Rgb8
impl Pixel for Rgb8
Source§const MODEL: ColorModel = ColorModel::Rgb
const MODEL: ColorModel = ColorModel::Rgb
The colour interpretation of those samples.
Source§const BYTES_PER_PIXEL: usize = _
const BYTES_PER_PIXEL: usize = _
Bytes one pixel occupies in an interleaved buffer (
CHANNELS * size_of::<Sample>()).impl StructuralPartialEq for Rgb8
Auto Trait Implementations§
impl Freeze for Rgb8
impl RefUnwindSafe for Rgb8
impl Send for Rgb8
impl Sync for Rgb8
impl Unpin for Rgb8
impl UnsafeUnpin for Rgb8
impl UnwindSafe for Rgb8
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more