#[repr(u8)]pub enum Ctrl2OddLinePattern {
RGB = 0,
RBG = 1,
GBR = 2,
GRB = 3,
BRG = 4,
BGR = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}Variants§
RGB = 0
RGB
RBG = 1
RBG
GBR = 2
GBR
GRB = 3
GRB
BRG = 4
BRG
BGR = 5
BGR
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Trait Implementations§
Source§impl Clone for Ctrl2OddLinePattern
impl Clone for Ctrl2OddLinePattern
Source§fn clone(&self) -> Ctrl2OddLinePattern
fn clone(&self) -> Ctrl2OddLinePattern
Returns a duplicate 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 Ctrl2OddLinePattern
impl Debug for Ctrl2OddLinePattern
Source§impl From<Ctrl2OddLinePattern> for u8
impl From<Ctrl2OddLinePattern> for u8
Source§fn from(val: Ctrl2OddLinePattern) -> u8
fn from(val: Ctrl2OddLinePattern) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Ctrl2OddLinePattern
impl From<u8> for Ctrl2OddLinePattern
Source§fn from(val: u8) -> Ctrl2OddLinePattern
fn from(val: u8) -> Ctrl2OddLinePattern
Converts to this type from the input type.
Source§impl Ord for Ctrl2OddLinePattern
impl Ord for Ctrl2OddLinePattern
Source§fn cmp(&self, other: &Ctrl2OddLinePattern) -> Ordering
fn cmp(&self, other: &Ctrl2OddLinePattern) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Ctrl2OddLinePattern
impl PartialEq for Ctrl2OddLinePattern
Source§impl PartialOrd for Ctrl2OddLinePattern
impl PartialOrd for Ctrl2OddLinePattern
impl Copy for Ctrl2OddLinePattern
impl Eq for Ctrl2OddLinePattern
impl StructuralPartialEq for Ctrl2OddLinePattern
Auto Trait Implementations§
impl Freeze for Ctrl2OddLinePattern
impl RefUnwindSafe for Ctrl2OddLinePattern
impl Send for Ctrl2OddLinePattern
impl Sync for Ctrl2OddLinePattern
impl Unpin for Ctrl2OddLinePattern
impl UnwindSafe for Ctrl2OddLinePattern
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