Enum chrono::rkyv::ArchivedWeekday
source · #[repr(u8)]pub enum ArchivedWeekday {
Mon = 0,
Tue = 1,
Wed = 2,
Thu = 3,
Fri = 4,
Sat = 5,
Sun = 6,
}
Available on crate features
rkyv
or rkyv-16
or rkyv-32
or rkyv-64
only.Expand description
An archived Weekday
Variants§
Mon = 0
The archived counterpart of Weekday::Mon
Tue = 1
The archived counterpart of Weekday::Tue
Wed = 2
The archived counterpart of Weekday::Wed
Thu = 3
The archived counterpart of Weekday::Thu
Fri = 4
The archived counterpart of Weekday::Fri
Sat = 5
The archived counterpart of Weekday::Sat
Sun = 6
The archived counterpart of Weekday::Sun
Trait Implementations§
source§impl Clone for ArchivedWeekday
impl Clone for ArchivedWeekday
source§fn clone(&self) -> ArchivedWeekday
fn clone(&self) -> ArchivedWeekday
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 ArchivedWeekday
impl Debug for ArchivedWeekday
source§impl Hash for ArchivedWeekday
impl Hash for ArchivedWeekday
source§impl PartialEq<ArchivedWeekday> for Weekday
impl PartialEq<ArchivedWeekday> for Weekday
source§fn eq(&self, other: &ArchivedWeekday) -> bool
fn eq(&self, other: &ArchivedWeekday) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<Weekday> for ArchivedWeekday
impl PartialEq<Weekday> for ArchivedWeekday
source§impl PartialEq for ArchivedWeekday
impl PartialEq for ArchivedWeekday
source§fn eq(&self, other: &ArchivedWeekday) -> bool
fn eq(&self, other: &ArchivedWeekday) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ArchivedWeekday
impl Eq for ArchivedWeekday
impl StructuralPartialEq for ArchivedWeekday
Auto Trait Implementations§
impl Freeze for ArchivedWeekday
impl RefUnwindSafe for ArchivedWeekday
impl Send for ArchivedWeekday
impl Sync for ArchivedWeekday
impl Unpin for ArchivedWeekday
impl UnwindSafe for ArchivedWeekday
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§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