Enum PHASEXave::CalendarView
source · pub enum CalendarView {
Julian = 0,
Gregorian = 1,
Solar = 2,
}
Variants§
Trait Implementations§
source§impl Clone for CalendarView
impl Clone for CalendarView
source§fn clone(&self) -> CalendarView
fn clone(&self) -> CalendarView
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 CalendarView
impl Debug for CalendarView
source§impl Default for CalendarView
impl Default for CalendarView
source§fn default() -> CalendarView
fn default() -> CalendarView
Returns the “default value” for a type. Read more
source§impl Ord for CalendarView
impl Ord for CalendarView
source§fn cmp(&self, other: &CalendarView) -> Ordering
fn cmp(&self, other: &CalendarView) -> 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 CalendarView
impl PartialEq for CalendarView
source§fn eq(&self, other: &CalendarView) -> bool
fn eq(&self, other: &CalendarView) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CalendarView
impl PartialOrd for CalendarView
source§fn partial_cmp(&self, other: &CalendarView) -> Option<Ordering>
fn partial_cmp(&self, other: &CalendarView) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for CalendarView
impl Eq for CalendarView
impl StructuralPartialEq for CalendarView
Auto Trait Implementations§
impl Freeze for CalendarView
impl RefUnwindSafe for CalendarView
impl Send for CalendarView
impl Sync for CalendarView
impl Unpin for CalendarView
impl UnwindSafe for CalendarView
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