[][src]Struct gameboy_core::rtc::Rtc

pub struct Rtc {
    pub seconds: u8,
    pub minutes: u8,
    pub hours: u8,
    pub days_low: u8,
    pub days_high: u8,
}

Fields

seconds: u8minutes: u8hours: u8days_low: u8days_high: u8

Implementations

impl Rtc[src]

pub fn new() -> Rtc[src]

pub fn from_bytes(bytes: &[u8]) -> Rtc[src]

pub fn to_bytes(self) -> [u8; 5][src]

Trait Implementations

impl Clone for Rtc[src]

impl Copy for Rtc[src]

impl Debug for Rtc[src]

impl Default for Rtc[src]

Auto Trait Implementations

impl RefUnwindSafe for Rtc

impl Send for Rtc

impl Sync for Rtc

impl Unpin for Rtc

impl UnwindSafe for Rtc

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.