#[non_exhaustive]pub struct GrayPixels<'a> { /* private fields */ }Expand description
A borrowed grayscale (luma) pixel view: the universal input to a
QrDecoder.
One byte per pixel, row-major, 0 = black / 255 = white. Decoupled from
the image crate so custom decoders need no image dependency.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for GrayPixels<'a>
impl<'a> Clone for GrayPixels<'a>
Source§fn clone(&self) -> GrayPixels<'a>
fn clone(&self) -> GrayPixels<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for GrayPixels<'a>
Auto Trait Implementations§
impl<'a> Freeze for GrayPixels<'a>
impl<'a> RefUnwindSafe for GrayPixels<'a>
impl<'a> Send for GrayPixels<'a>
impl<'a> Sync for GrayPixels<'a>
impl<'a> Unpin for GrayPixels<'a>
impl<'a> UnsafeUnpin for GrayPixels<'a>
impl<'a> UnwindSafe for GrayPixels<'a>
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