Struct atsamd_hal::rtc::Datetime
source · [−]pub struct Datetime {
pub seconds: u8,
pub minutes: u8,
pub hours: u8,
pub day: u8,
pub month: u8,
pub year: u8,
}
Expand description
Datetime represents an RTC clock/calendar value.
Fields
seconds: u8
minutes: u8
hours: u8
day: u8
month: u8
year: u8
Trait Implementations
impl Copy for Datetime
Auto Trait Implementations
impl RefUnwindSafe for Datetime
impl Send for Datetime
impl Sync for Datetime
impl Unpin for Datetime
impl UnwindSafe for Datetime
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more