pub struct XTransPattern {
pub cells: [[u8; 6]; 6],
}Expand description
X-Trans CFA pattern (6x6 repeating tile).
Values: 0=Red, 1=Green, 2=Blue Row-major order, 36 elements total.
Fields§
§cells: [[u8; 6]; 6]6x6 grid of color indices: 0=Red, 1=Green, 2=Blue
Implementations§
Trait Implementations§
Source§impl Clone for XTransPattern
impl Clone for XTransPattern
Source§fn clone(&self) -> XTransPattern
fn clone(&self) -> XTransPattern
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 XTransPattern
impl Debug for XTransPattern
Source§impl PartialEq for XTransPattern
impl PartialEq for XTransPattern
Source§fn eq(&self, other: &XTransPattern) -> bool
fn eq(&self, other: &XTransPattern) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for XTransPattern
impl Eq for XTransPattern
impl StructuralPartialEq for XTransPattern
Auto Trait Implementations§
impl Freeze for XTransPattern
impl RefUnwindSafe for XTransPattern
impl Send for XTransPattern
impl Sync for XTransPattern
impl Unpin for XTransPattern
impl UnsafeUnpin for XTransPattern
impl UnwindSafe for XTransPattern
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