pub struct NormalSubYear {
pub month: u8,
pub day: u8,
}Expand description
A normal day/month pair for an ArvelieDate.
Fields§
§month: u8The month of the year. There are 26 months in a year.
day: u8The day of the month. There are 14 days in a month.
Trait Implementations§
Source§impl Clone for NormalSubYear
impl Clone for NormalSubYear
Source§fn clone(&self) -> NormalSubYear
fn clone(&self) -> NormalSubYear
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 NormalSubYear
impl Debug for NormalSubYear
Source§impl Default for NormalSubYear
impl Default for NormalSubYear
Source§fn default() -> NormalSubYear
fn default() -> NormalSubYear
Returns the “default value” for a type. Read more
Source§impl Display for NormalSubYear
impl Display for NormalSubYear
Source§impl Hash for NormalSubYear
impl Hash for NormalSubYear
Source§impl Ord for NormalSubYear
impl Ord for NormalSubYear
Source§fn cmp(&self, other: &NormalSubYear) -> Ordering
fn cmp(&self, other: &NormalSubYear) -> 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 for NormalSubYear
impl PartialEq for NormalSubYear
Source§impl PartialOrd for NormalSubYear
impl PartialOrd for NormalSubYear
impl Copy for NormalSubYear
impl Eq for NormalSubYear
impl StructuralPartialEq for NormalSubYear
Auto Trait Implementations§
impl Freeze for NormalSubYear
impl RefUnwindSafe for NormalSubYear
impl Send for NormalSubYear
impl Sync for NormalSubYear
impl Unpin for NormalSubYear
impl UnwindSafe for NormalSubYear
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more