Enum stm32_metapac::timer::vals::CcmrOutputCcs
#[repr(u8)]pub enum CcmrOutputCcs {
OUTPUT = 0,
_RESERVED_1 = 1,
_RESERVED_2 = 2,
_RESERVED_3 = 3,
}
Variants§
Implementations§
§impl CcmrOutputCcs
impl CcmrOutputCcs
pub const fn from_bits(val: u8) -> CcmrOutputCcs
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for CcmrOutputCcs
impl Clone for CcmrOutputCcs
§fn clone(&self) -> CcmrOutputCcs
fn clone(&self) -> CcmrOutputCcs
Returns a copy 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 more§impl From<CcmrOutputCcs> for u8
impl From<CcmrOutputCcs> for u8
§fn from(val: CcmrOutputCcs) -> u8
fn from(val: CcmrOutputCcs) -> u8
Converts to this type from the input type.
§impl From<u8> for CcmrOutputCcs
impl From<u8> for CcmrOutputCcs
§fn from(val: u8) -> CcmrOutputCcs
fn from(val: u8) -> CcmrOutputCcs
Converts to this type from the input type.
§impl Ord for CcmrOutputCcs
impl Ord for CcmrOutputCcs
§impl PartialEq for CcmrOutputCcs
impl PartialEq for CcmrOutputCcs
§fn eq(&self, other: &CcmrOutputCcs) -> bool
fn eq(&self, other: &CcmrOutputCcs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for CcmrOutputCcs
impl PartialOrd for CcmrOutputCcs
§fn partial_cmp(&self, other: &CcmrOutputCcs) -> Option<Ordering>
fn partial_cmp(&self, other: &CcmrOutputCcs) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for CcmrOutputCcs
impl Eq for CcmrOutputCcs
impl StructuralPartialEq for CcmrOutputCcs
Auto Trait Implementations§
impl Freeze for CcmrOutputCcs
impl RefUnwindSafe for CcmrOutputCcs
impl Send for CcmrOutputCcs
impl Sync for CcmrOutputCcs
impl Unpin for CcmrOutputCcs
impl UnwindSafe for CcmrOutputCcs
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