pub struct Gray16;Expand description
16-bit grayscale: one u16 luminance sample per pixel (high-bit-depth).
Trait Implementations§
impl Copy for Gray16
impl Eq for Gray16
Source§impl Pixel for Gray16
impl Pixel for Gray16
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 Gray16
Auto Trait Implementations§
impl Freeze for Gray16
impl RefUnwindSafe for Gray16
impl Send for Gray16
impl Sync for Gray16
impl Unpin for Gray16
impl UnsafeUnpin for Gray16
impl UnwindSafe for Gray16
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