pub struct TimeUnit(/* private fields */);
Expand description
The Type representing some Units of Time
Implementations§
Trait Implementations§
Source§impl AddAssign for TimeUnit
impl AddAssign for TimeUnit
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+=
operation. Read moreSource§impl From<usize> for TimeUnit
impl From<usize> for TimeUnit
Source§fn from(time: UnitNumber) -> Self
fn from(time: UnitNumber) -> Self
Converts to this type from the input type.
Source§impl Mul<TimeUnit> for UnitNumber
impl Mul<TimeUnit> for UnitNumber
Source§impl Ord for TimeUnit
impl Ord for TimeUnit
Source§impl PartialOrd<TimeUnit> for WindowEnd
impl PartialOrd<TimeUnit> for WindowEnd
Source§impl PartialOrd<WindowEnd> for TimeUnit
impl PartialOrd<WindowEnd> for TimeUnit
Source§impl PartialOrd for TimeUnit
impl PartialOrd for TimeUnit
impl Copy for TimeUnit
impl Eq for TimeUnit
impl StructuralPartialEq for TimeUnit
Auto Trait Implementations§
impl Freeze for TimeUnit
impl RefUnwindSafe for TimeUnit
impl Send for TimeUnit
impl Sync for TimeUnit
impl Unpin for TimeUnit
impl UnwindSafe for TimeUnit
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