pub enum WeekSystem {
Iso,
Epi,
}Expand description
How weeks are numbered. Both number from the week holding January 4 (the first with four days in the year), so a week near New Year may belong to the year before or after.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for WeekSystem
impl Clone for WeekSystem
Source§fn clone(&self) -> WeekSystem
fn clone(&self) -> WeekSystem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WeekSystem
Source§impl Debug for WeekSystem
impl Debug for WeekSystem
Source§impl Display for WeekSystem
impl Display for WeekSystem
impl Eq for WeekSystem
Source§impl Hash for WeekSystem
impl Hash for WeekSystem
Source§impl PartialEq for WeekSystem
impl PartialEq for WeekSystem
Source§fn eq(&self, other: &WeekSystem) -> bool
fn eq(&self, other: &WeekSystem) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WeekSystem
Auto Trait Implementations§
impl Freeze for WeekSystem
impl RefUnwindSafe for WeekSystem
impl Send for WeekSystem
impl Sync for WeekSystem
impl Unpin for WeekSystem
impl UnsafeUnpin for WeekSystem
impl UnwindSafe for WeekSystem
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.