pub struct MonthWeekDay { /* private fields */ }
Expand description
Day represented by a month, a month week and a week day
Implementations§
Source§impl MonthWeekDay
impl MonthWeekDay
Sourcepub const fn new(
month: u8,
week: u8,
week_day: u8,
) -> Result<Self, TransitionRuleError>
pub const fn new( month: u8, week: u8, week_day: u8, ) -> Result<Self, TransitionRuleError>
Construct a transition rule day represented by a month, a month week and a week day
Trait Implementations§
Source§impl Clone for MonthWeekDay
impl Clone for MonthWeekDay
Source§fn clone(&self) -> MonthWeekDay
fn clone(&self) -> MonthWeekDay
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 MonthWeekDay
impl Debug for MonthWeekDay
Source§impl PartialEq for MonthWeekDay
impl PartialEq for MonthWeekDay
impl Copy for MonthWeekDay
impl Eq for MonthWeekDay
impl StructuralPartialEq for MonthWeekDay
Auto Trait Implementations§
impl Freeze for MonthWeekDay
impl RefUnwindSafe for MonthWeekDay
impl Send for MonthWeekDay
impl Sync for MonthWeekDay
impl Unpin for MonthWeekDay
impl UnwindSafe for MonthWeekDay
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