pub struct CalendarContext {
pub start: Option<Date>,
pub weeks: Option<WeekSystem>,
}Expand description
The enclosing start date and week system of a conversion.
Fields§
§start: Option<Date>§weeks: Option<WeekSystem>Trait Implementations§
Source§impl Clone for CalendarContext
impl Clone for CalendarContext
Source§fn clone(&self) -> CalendarContext
fn clone(&self) -> CalendarContext
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 CalendarContext
Source§impl Debug for CalendarContext
impl Debug for CalendarContext
Source§impl Default for CalendarContext
impl Default for CalendarContext
Source§fn default() -> CalendarContext
fn default() -> CalendarContext
Returns the “default value” for a type. Read more
impl Eq for CalendarContext
Source§impl PartialEq for CalendarContext
impl PartialEq for CalendarContext
Source§fn eq(&self, other: &CalendarContext) -> bool
fn eq(&self, other: &CalendarContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CalendarContext
Auto Trait Implementations§
impl Freeze for CalendarContext
impl RefUnwindSafe for CalendarContext
impl Send for CalendarContext
impl Sync for CalendarContext
impl Unpin for CalendarContext
impl UnsafeUnpin for CalendarContext
impl UnwindSafe for CalendarContext
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.