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