Enum stm32_metapac::syscfg::vals::Dac1Trig3Rmp
#[repr(u8)]pub enum Dac1Trig3Rmp {
TIM15 = 0,
HRTIM1 = 1,
}
Variants§
Implementations§
§impl Dac1Trig3Rmp
impl Dac1Trig3Rmp
pub const fn from_bits(val: u8) -> Dac1Trig3Rmp
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Dac1Trig3Rmp
impl Clone for Dac1Trig3Rmp
§fn clone(&self) -> Dac1Trig3Rmp
fn clone(&self) -> Dac1Trig3Rmp
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<Dac1Trig3Rmp> for u8
impl From<Dac1Trig3Rmp> for u8
§fn from(val: Dac1Trig3Rmp) -> u8
fn from(val: Dac1Trig3Rmp) -> u8
Converts to this type from the input type.
§impl From<u8> for Dac1Trig3Rmp
impl From<u8> for Dac1Trig3Rmp
§fn from(val: u8) -> Dac1Trig3Rmp
fn from(val: u8) -> Dac1Trig3Rmp
Converts to this type from the input type.
§impl Ord for Dac1Trig3Rmp
impl Ord for Dac1Trig3Rmp
§impl PartialEq for Dac1Trig3Rmp
impl PartialEq for Dac1Trig3Rmp
§fn eq(&self, other: &Dac1Trig3Rmp) -> bool
fn eq(&self, other: &Dac1Trig3Rmp) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for Dac1Trig3Rmp
impl PartialOrd for Dac1Trig3Rmp
§fn partial_cmp(&self, other: &Dac1Trig3Rmp) -> Option<Ordering>
fn partial_cmp(&self, other: &Dac1Trig3Rmp) -> 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 Dac1Trig3Rmp
impl Eq for Dac1Trig3Rmp
impl StructuralEq for Dac1Trig3Rmp
impl StructuralPartialEq for Dac1Trig3Rmp
Auto Trait Implementations§
impl RefUnwindSafe for Dac1Trig3Rmp
impl Send for Dac1Trig3Rmp
impl Sync for Dac1Trig3Rmp
impl Unpin for Dac1Trig3Rmp
impl UnwindSafe for Dac1Trig3Rmp
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