pub struct WeekNoSetIndex(/* private fields */);Expand description
A valid index into a WeekNoSet.
Implementations§
Source§impl WeekNoSetIndex
impl WeekNoSetIndex
Sourcepub const fn from_signed_week(sign: Sign, week: IsoWeek) -> Self
pub const fn from_signed_week(sign: Sign, week: IsoWeek) -> Self
Creates an index from a sign and ISO week number.
Trait Implementations§
Source§impl Clone for WeekNoSetIndex
impl Clone for WeekNoSetIndex
Source§fn clone(&self) -> WeekNoSetIndex
fn clone(&self) -> WeekNoSetIndex
Returns a duplicate 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 WeekNoSetIndex
impl Debug for WeekNoSetIndex
Source§impl Ord for WeekNoSetIndex
impl Ord for WeekNoSetIndex
Source§fn cmp(&self, other: &WeekNoSetIndex) -> Ordering
fn cmp(&self, other: &WeekNoSetIndex) -> 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 WeekNoSetIndex
impl PartialEq for WeekNoSetIndex
Source§impl PartialOrd for WeekNoSetIndex
impl PartialOrd for WeekNoSetIndex
impl Copy for WeekNoSetIndex
impl Eq for WeekNoSetIndex
impl StructuralPartialEq for WeekNoSetIndex
Auto Trait Implementations§
impl Freeze for WeekNoSetIndex
impl RefUnwindSafe for WeekNoSetIndex
impl Send for WeekNoSetIndex
impl Sync for WeekNoSetIndex
impl Unpin for WeekNoSetIndex
impl UnsafeUnpin for WeekNoSetIndex
impl UnwindSafe for WeekNoSetIndex
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