#[repr(u8)]pub enum AlmMatch {
HOURS = 0,
DAYS = 1,
MONTHS = 2,
YEAR = 3,
}Variants§
HOURS = 0
If CTRL[ALM_SUBSECS_MATCH_EN] =0, Only seconds, minutes, and hours matched. If CTRL[ALM_SUBSECS_MATCH_EN] =1, Only subseconds, seconds, minutes, and hours matched.
DAYS = 1
If CTRL[ALM_SUBSECS_MATCH_EN] =0, Only seconds, minutes, hours, and days matched. If CTRL[ALM_SUBSECS_MATCH_EN] =1, Only subseconds, seconds, minutes, hours, and days matched.
MONTHS = 2
If CTRL[ALM_SUBSECS_MATCH_EN] =0, Only seconds, minutes, hours, days and months matched. If CTRL[ALM_SUBSECS_MATCH_EN] =1, Only subseconds, seconds, minutes, hours, days and months matched.
YEAR = 3
If CTRL[ALM_SUBSECS_MATCH_EN] =0, Only seconds, minutes, hours, days, months and year (offset) matched. If CTRL[ALM_SUBSECS_MATCH_EN] =1, Only subseconds, seconds, minutes, hours, days, months and year (offset) matched.
Implementations§
Trait Implementations§
Source§impl Ord for AlmMatch
impl Ord for AlmMatch
Source§impl PartialOrd for AlmMatch
impl PartialOrd for AlmMatch
impl Copy for AlmMatch
impl Eq for AlmMatch
impl StructuralPartialEq for AlmMatch
Auto Trait Implementations§
impl Freeze for AlmMatch
impl RefUnwindSafe for AlmMatch
impl Send for AlmMatch
impl Sync for AlmMatch
impl Unpin for AlmMatch
impl UnwindSafe for AlmMatch
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