pub struct LogosTime(pub i64);Expand description
Time-of-day stored as nanoseconds from midnight — the wall-clock face of a Moment, with no
date or zone. Renders HH:MM:SS[.frac], lossless to the nanosecond (the AOT mirror of the
interpreter’s Time).
Tuple Fields§
§0: i64Implementations§
Trait Implementations§
Source§impl Ord for LogosTime
impl Ord for LogosTime
Source§impl OtherValue for LogosTime
impl OtherValue for LogosTime
Source§fn display_string(&self) -> String
fn display_string(&self) -> String
How the value prints.
Source§fn equals(&self, o: &(dyn OtherValue + 'static)) -> bool
fn equals(&self, o: &(dyn OtherValue + 'static)) -> bool
The language’s equality with another value of a kind outside the tower.
Source§fn order(&self, o: &LogosValue) -> Option<Option<Ordering>>
fn order(&self, o: &LogosValue) -> Option<Option<Ordering>>
The order of
self against o, None when the language orders no such pair.Source§fn combine(
&self,
_op: Op,
_o: &LogosValue,
_reversed: bool,
) -> Option<Result<LogosValue, String>>
fn combine( &self, _op: Op, _o: &LogosValue, _reversed: bool, ) -> Option<Result<LogosValue, String>>
self op o, or o op self when reversed; None when the language has no arm for the pair.Source§impl PartialOrd for LogosTime
impl PartialOrd for LogosTime
impl Copy for LogosTime
impl Eq for LogosTime
impl StructuralPartialEq for LogosTime
Auto Trait Implementations§
impl Freeze for LogosTime
impl RefUnwindSafe for LogosTime
impl Send for LogosTime
impl Sync for LogosTime
impl Unpin for LogosTime
impl UnsafeUnpin for LogosTime
impl UnwindSafe for LogosTime
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.