Enum stm32_metapac::rtc::vals::Tsedge
#[repr(u8)]pub enum Tsedge {
RISINGEDGE = 0,
FALLINGEDGE = 1,
}
Variants§
RISINGEDGE = 0
RTC_TS input rising edge generates a time-stamp event
FALLINGEDGE = 1
RTC_TS input falling edge generates a time-stamp event
Implementations§
Trait Implementations§
§impl Ord for Tsedge
impl Ord for Tsedge
§impl PartialOrd for Tsedge
impl PartialOrd for Tsedge
§fn partial_cmp(&self, other: &Tsedge) -> Option<Ordering>
fn partial_cmp(&self, other: &Tsedge) -> 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 Tsedge
impl Eq for Tsedge
impl StructuralEq for Tsedge
impl StructuralPartialEq for Tsedge
Auto Trait Implementations§
impl RefUnwindSafe for Tsedge
impl Send for Tsedge
impl Sync for Tsedge
impl Unpin for Tsedge
impl UnwindSafe for Tsedge
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