pub enum CFA {
BGGR,
GBRG,
GRBG,
RGGB,
}
Expand description
The 2x2 colour filter array (CFA) pattern.
The sequence of R, G, B describe the colours of the top-left, top-right, bottom-left, and bottom-right pixels in the 2x2 block, in that order.
Variants§
Implementations§
Trait Implementations§
impl Copy for CFA
impl Eq for CFA
impl StructuralPartialEq for CFA
Auto Trait Implementations§
impl Freeze for CFA
impl RefUnwindSafe for CFA
impl Send for CFA
impl Sync for CFA
impl Unpin for CFA
impl UnwindSafe for CFA
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