[][src]Struct watchface::WatchFaceTime

#[repr(C)]pub struct WatchFaceTime {
    pub year: u16,
    pub month: u8,
    pub day: u8,
    pub hour: u8,
    pub minute: u8,
    pub second: u8,
    pub day_of_week: u8,
}

Watch Face Time

Fields

year: u16

Year (4 digit year)

month: u8

Month (1 - 12)

day: u8

Day (1 - 31)

hour: u8

Hour (0 - 23)

minute: u8

Minute (0 - 59)

second: u8

Second (0 - 59)

day_of_week: u8

Day of week (0 - 6; 0 = Sunday)

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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> 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.