pub struct Gray8;Expand description
8-bit grayscale: one luminance byte per pixel.
Trait Implementations§
impl Copy for Gray8
impl Eq for Gray8
Source§impl Pixel for Gray8
impl Pixel for Gray8
Source§const MODEL: ColorModel = ColorModel::Gray
const MODEL: ColorModel = ColorModel::Gray
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 Gray8
Auto Trait Implementations§
impl Freeze for Gray8
impl RefUnwindSafe for Gray8
impl Send for Gray8
impl Sync for Gray8
impl Unpin for Gray8
impl UnsafeUnpin for Gray8
impl UnwindSafe for Gray8
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