#[repr(transparent)]pub struct AlmSeconds(pub u16);Expand description
Seconds Alarm
Tuple Fields§
§0: u16Implementations§
Source§impl AlmSeconds
impl AlmSeconds
Sourcepub const fn set_alm_sec(&mut self, val: u8)
pub const fn set_alm_sec(&mut self, val: u8)
Seconds Alarm Value
Sourcepub const fn set_dec_sec(&mut self, val: bool)
pub const fn set_dec_sec(&mut self, val: bool)
Decrement Seconds Counter by 1.
Sourcepub const fn set_inc_sec(&mut self, val: bool)
pub const fn set_inc_sec(&mut self, val: bool)
Increment Seconds Counter by 1.
Trait Implementations§
Source§impl Clone for AlmSeconds
impl Clone for AlmSeconds
Source§fn clone(&self) -> AlmSeconds
fn clone(&self) -> AlmSeconds
Returns a duplicate 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 moreSource§impl Debug for AlmSeconds
impl Debug for AlmSeconds
Source§impl Default for AlmSeconds
impl Default for AlmSeconds
Source§fn default() -> AlmSeconds
fn default() -> AlmSeconds
Returns the “default value” for a type. Read more
Source§impl PartialEq for AlmSeconds
impl PartialEq for AlmSeconds
impl Copy for AlmSeconds
impl Eq for AlmSeconds
impl StructuralPartialEq for AlmSeconds
Auto Trait Implementations§
impl Freeze for AlmSeconds
impl RefUnwindSafe for AlmSeconds
impl Send for AlmSeconds
impl Sync for AlmSeconds
impl Unpin for AlmSeconds
impl UnwindSafe for AlmSeconds
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