Struct etwin_core::core::PeriodFrom
source · pub struct PeriodFrom {
pub start: Instant,
}
Fields§
§start: Instant
Trait Implementations§
source§impl Clone for PeriodFrom
impl Clone for PeriodFrom
source§fn clone(&self) -> PeriodFrom
fn clone(&self) -> PeriodFrom
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 PeriodFrom
impl Debug for PeriodFrom
source§impl From<PeriodFrom> for RangeFrom<Instant>
impl From<PeriodFrom> for RangeFrom<Instant>
source§fn from(r: PeriodFrom) -> Self
fn from(r: PeriodFrom) -> Self
Converts to this type from the input type.
source§impl Hash for PeriodFrom
impl Hash for PeriodFrom
source§impl Ord for PeriodFrom
impl Ord for PeriodFrom
source§fn cmp(&self, other: &PeriodFrom) -> Ordering
fn cmp(&self, other: &PeriodFrom) -> 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<PeriodFrom> for PeriodFrom
impl PartialEq<PeriodFrom> for PeriodFrom
source§fn eq(&self, other: &PeriodFrom) -> bool
fn eq(&self, other: &PeriodFrom) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<PeriodFrom> for PeriodFrom
impl PartialOrd<PeriodFrom> for PeriodFrom
source§fn partial_cmp(&self, other: &PeriodFrom) -> Option<Ordering>
fn partial_cmp(&self, other: &PeriodFrom) -> 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 more