Trait chronologic::TimePoint
source · [−]pub trait TimePoint: Clone + Copy + Eq + Ord + Neg<Output = Self> {
const INFINITE: Self;
fn is_finite(&self) -> bool;
fn is_future_infinite(&self) -> bool;
fn is_past_infinite(&self) -> bool;
fn just_after(&self) -> Self;
fn just_before(&self) -> Self;
}Expand description
Required Associated Constants
Required Methods
fn is_future_infinite(&self) -> bool
fn is_future_infinite(&self) -> bool
Checks if this value is +∞
fn is_past_infinite(&self) -> bool
fn is_past_infinite(&self) -> bool
Checks if this value is -∞
fn just_after(&self) -> Self
fn just_after(&self) -> Self
Returns a value just after
fn just_before(&self) -> Self
fn just_before(&self) -> Self
Returns a value just before