[][src]Struct xmc4_hal::rtc::Time

pub struct Time {
    pub second: u8,
    pub minute: u8,
    pub hour: u8,
    pub day: u8,
    pub weekday: Weekday,
    pub month: Month,
    pub year: u16,
}

Representation of RTC time objects

Fields

second: u8

Number of seconds in RTC time

minute: u8

Number of minutes in RTC time

hour: u8

Number of hours in RTC time

day: u8

Number of days in RTC time

weekday: Weekday

Day of the week in RTC time

month: Month

Month of the year in RTC time

year: u16

Year in RTC time

Auto Trait Implementations

impl Unpin for Time

impl Send for Time

impl Sync for Time

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self