#[repr(u8)]pub enum S1ColorMode {
S1_COLOR_MODE_0 = 0,
S1_COLOR_MODE_1 = 1,
}Variants§
Implementations§
Source§impl S1ColorMode
impl S1ColorMode
Trait Implementations§
Source§impl Clone for S1ColorMode
impl Clone for S1ColorMode
Source§fn clone(&self) -> S1ColorMode
fn clone(&self) -> S1ColorMode
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 S1ColorMode
impl Debug for S1ColorMode
Source§impl From<S1ColorMode> for u8
impl From<S1ColorMode> for u8
Source§fn from(val: S1ColorMode) -> u8
fn from(val: S1ColorMode) -> u8
Converts to this type from the input type.
Source§impl From<u8> for S1ColorMode
impl From<u8> for S1ColorMode
Source§fn from(val: u8) -> S1ColorMode
fn from(val: u8) -> S1ColorMode
Converts to this type from the input type.
Source§impl Ord for S1ColorMode
impl Ord for S1ColorMode
Source§fn cmp(&self, other: &S1ColorMode) -> Ordering
fn cmp(&self, other: &S1ColorMode) -> 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 S1ColorMode
impl PartialEq for S1ColorMode
Source§impl PartialOrd for S1ColorMode
impl PartialOrd for S1ColorMode
impl Copy for S1ColorMode
impl Eq for S1ColorMode
impl StructuralPartialEq for S1ColorMode
Auto Trait Implementations§
impl Freeze for S1ColorMode
impl RefUnwindSafe for S1ColorMode
impl Send for S1ColorMode
impl Sync for S1ColorMode
impl Unpin for S1ColorMode
impl UnwindSafe for S1ColorMode
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