Struct etwin_core::hammerfest::HammerfestDate
source · pub struct HammerfestDate {
pub month: u8,
pub day: u8,
pub weekday: u8,
}
Fields§
§month: u8
§day: u8
§weekday: u8
Day of the week from 1 (Monday) to 7 (Sunday)
Trait Implementations§
source§impl Clone for HammerfestDate
impl Clone for HammerfestDate
source§fn clone(&self) -> HammerfestDate
fn clone(&self) -> HammerfestDate
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HammerfestDate
impl Debug for HammerfestDate
source§impl Hash for HammerfestDate
impl Hash for HammerfestDate
source§impl Ord for HammerfestDate
impl Ord for HammerfestDate
source§fn cmp(&self, other: &HammerfestDate) -> Ordering
fn cmp(&self, other: &HammerfestDate) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<HammerfestDate> for HammerfestDate
impl PartialEq<HammerfestDate> for HammerfestDate
source§fn eq(&self, other: &HammerfestDate) -> bool
fn eq(&self, other: &HammerfestDate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<HammerfestDate> for HammerfestDate
impl PartialOrd<HammerfestDate> for HammerfestDate
source§fn partial_cmp(&self, other: &HammerfestDate) -> Option<Ordering>
fn partial_cmp(&self, other: &HammerfestDate) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more