# LEAP_YEAR_R in k210_pac::rtc::extended - Rust
Reader of field `leap_year`
Keywords: rust, rustlang, rust-lang, LEAP_YEAR_R

# Type Definition k210_pac::rtc::extended::LEAP_YEAR_R

source · [−]

    pub type LEAP_YEAR_R = R<bool, LEAP_YEAR_A>;

Expand description

Reader of field `leap_year`

## Implementations

source

### impl LEAP_YEAR_R

source

#### pub fn variant(&self) -> LEAP_YEAR_A

Get enumerated values variant

source

#### pub fn is_not_leap(&self) -> bool

Checks if the value of the field is `NOT_LEAP`

source

#### pub fn is_leap(&self) -> bool

Checks if the value of the field is `LEAP`