#[non_exhaustive]#[repr(u8)]pub enum CcrSetpointSwitchMode {
Manual = 0,
Automatic = 1,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl Clone for CcrSetpointSwitchMode
impl Clone for CcrSetpointSwitchMode
Source§fn clone(&self) -> CcrSetpointSwitchMode
fn clone(&self) -> CcrSetpointSwitchMode
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 CcrSetpointSwitchMode
impl Debug for CcrSetpointSwitchMode
Source§impl Hash for CcrSetpointSwitchMode
impl Hash for CcrSetpointSwitchMode
Source§impl PartialEq for CcrSetpointSwitchMode
impl PartialEq for CcrSetpointSwitchMode
Source§fn eq(&self, other: &CcrSetpointSwitchMode) -> bool
fn eq(&self, other: &CcrSetpointSwitchMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CcrSetpointSwitchMode
impl Eq for CcrSetpointSwitchMode
impl StructuralPartialEq for CcrSetpointSwitchMode
Auto Trait Implementations§
impl Freeze for CcrSetpointSwitchMode
impl RefUnwindSafe for CcrSetpointSwitchMode
impl Send for CcrSetpointSwitchMode
impl Sync for CcrSetpointSwitchMode
impl Unpin for CcrSetpointSwitchMode
impl UnsafeUnpin for CcrSetpointSwitchMode
impl UnwindSafe for CcrSetpointSwitchMode
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