pub enum CfaPattern {
Rggb,
Grbg,
Bggr,
Gbrg,
}Expand description
CFA (Color Filter Array) pattern.
Represents the Bayer pattern used in the camera’s sensor.
Variants§
Rggb
Red-Green / Green-Blue
Grbg
Green-Red / Blue-Green
Bggr
Blue-Green / Green-Red
Gbrg
Green-Blue / Red-Green
Implementations§
Trait Implementations§
Source§impl Clone for CfaPattern
impl Clone for CfaPattern
Source§fn clone(&self) -> CfaPattern
fn clone(&self) -> CfaPattern
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 moreSource§impl Debug for CfaPattern
impl Debug for CfaPattern
Source§impl Hash for CfaPattern
impl Hash for CfaPattern
Source§impl PartialEq for CfaPattern
impl PartialEq for CfaPattern
Source§fn eq(&self, other: &CfaPattern) -> bool
fn eq(&self, other: &CfaPattern) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CfaPattern
impl Eq for CfaPattern
impl StructuralPartialEq for CfaPattern
Auto Trait Implementations§
impl Freeze for CfaPattern
impl RefUnwindSafe for CfaPattern
impl Send for CfaPattern
impl Sync for CfaPattern
impl Unpin for CfaPattern
impl UnsafeUnpin for CfaPattern
impl UnwindSafe for CfaPattern
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