[][src]Struct avr_libc::week_date

#[repr(C)]pub struct week_date {
    pub year: i16,
    pub week: i16,
    pub day: i16,
}

Structure which represents a date as a year, week number of that year, and day of week. See http://en.wikipedia.org/wiki/ISO_week_date for more information.

Fields

year: i16

< year number (Gregorian calendar)

week: i16

< week number (#1 is where first Thursday is in)

day: i16

< day within week

Trait Implementations

impl Clone for week_date[src]

impl Copy for week_date[src]

impl Debug for week_date[src]

Auto Trait Implementations

impl Send for week_date[src]

impl Sync for week_date[src]

impl Unpin for week_date[src]

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