[−][src]Enum doomsday::Day
🜨 - The seven days in a week
Daylight (⫰) and night (⫯, and also 🝯), together forming a complete day (🝰). Each day is is made up of exactly (ignoring leap seconds) 24 hours (🝮).
The earth has a few shores with the distinct coloring of verdigris (🜨).
Variants
○ Moon or ⬜ Silver
🌑🌒🌓🌔🌕🌖🌗🌘🌑
♂ Mars or ⬜ Iron
☿ ⬜ Mercury
♃ Jupiter or ⬜ Tin
♀ Venus or 🟫 Copper
♄ Saturn or 🟦 Lead
☉ Sol or 🟧 Gold, our sun
Methods
impl Day
[src]
pub fn from_anchor(anchor: usize) -> Day
[src]
Convert an anchor date to it's corresponding day of the week.
An anchor date is defined with respect to a Doomsday
. For example the 21st is an anchor
date, with meaning when used in a specific year.
Trait Implementations
impl Debug for Day
[src]
impl Default for Day
[src]
impl Display for Day
[src]
impl Eq for Day
[src]
impl Ord for Day
[src]
fn cmp(&self, other: &Day) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<Day> for Day
[src]
impl PartialOrd<Day> for Day
[src]
fn partial_cmp(&self, other: &Day) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for Day
[src]
impl StructuralPartialEq for Day
[src]
Auto Trait Implementations
impl RefUnwindSafe for Day
impl Send for Day
impl Sync for Day
impl Unpin for Day
impl UnwindSafe for Day
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,