Enum bayer::BayerDepth
source · pub enum BayerDepth {
Depth8,
Depth16BE,
Depth16LE,
}
Expand description
The depth and endianness of the raw image.
Note that many cameras only capture 12-bits per pixel, but still store the data as 16-bits per pixel. These should be treated as 16-bits per pixel for the purposes of this library.
Variants§
Trait Implementations§
source§impl Clone for BayerDepth
impl Clone for BayerDepth
source§fn clone(&self) -> BayerDepth
fn clone(&self) -> BayerDepth
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BayerDepth
impl Debug for BayerDepth
source§impl PartialEq for BayerDepth
impl PartialEq for BayerDepth
source§fn eq(&self, other: &BayerDepth) -> bool
fn eq(&self, other: &BayerDepth) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BayerDepth
impl Eq for BayerDepth
impl StructuralPartialEq for BayerDepth
Auto Trait Implementations§
impl Freeze for BayerDepth
impl RefUnwindSafe for BayerDepth
impl Send for BayerDepth
impl Sync for BayerDepth
impl Unpin for BayerDepth
impl UnwindSafe for BayerDepth
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