Struct font_types::LongDateTime
source · [−]pub struct LongDateTime(_);
Expand description
A simple datetime type.
This represented as a number of seconds since 12:00 midnight, January 1, 1904, UTC.
Implementations
sourceimpl LongDateTime
impl LongDateTime
Trait Implementations
sourceimpl Clone for LongDateTime
impl Clone for LongDateTime
sourcefn clone(&self) -> LongDateTime
fn clone(&self) -> LongDateTime
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for LongDateTime
impl Debug for LongDateTime
sourceimpl Hash for LongDateTime
impl Hash for LongDateTime
sourceimpl Ord for LongDateTime
impl Ord for LongDateTime
sourcefn cmp(&self, other: &LongDateTime) -> Ordering
fn cmp(&self, other: &LongDateTime) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<LongDateTime> for LongDateTime
impl PartialEq<LongDateTime> for LongDateTime
sourcefn eq(&self, other: &LongDateTime) -> bool
fn eq(&self, other: &LongDateTime) -> bool
sourceimpl PartialOrd<LongDateTime> for LongDateTime
impl PartialOrd<LongDateTime> for LongDateTime
sourcefn partial_cmp(&self, other: &LongDateTime) -> Option<Ordering>
fn partial_cmp(&self, other: &LongDateTime) -> Option<Ordering>
1.0.0 · sourcefn 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 moresourceimpl Scalar for LongDateTime
impl Scalar for LongDateTime
impl Copy for LongDateTime
impl Eq for LongDateTime
impl StructuralEq for LongDateTime
impl StructuralPartialEq for LongDateTime
Auto Trait Implementations
impl RefUnwindSafe for LongDateTime
impl Send for LongDateTime
impl Sync for LongDateTime
impl Unpin for LongDateTime
impl UnwindSafe for LongDateTime
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more