pub struct Time<T>(pub T);
Expand description
Time in milliseconds
Tuple Fields§
§0: T
Implementations§
Trait Implementations§
Source§impl<T: Ord> Ord for Time<T>
impl<T: Ord> Ord for Time<T>
Source§impl<T: PartialOrd> PartialOrd for Time<T>
impl<T: PartialOrd> PartialOrd for Time<T>
impl<T: Copy> Copy for Time<T>
impl<T: Eq> Eq for Time<T>
impl<T> StructuralPartialEq for Time<T>
Auto Trait Implementations§
impl<T> Freeze for Time<T>where
T: Freeze,
impl<T> RefUnwindSafe for Time<T>where
T: RefUnwindSafe,
impl<T> Send for Time<T>where
T: Send,
impl<T> Sync for Time<T>where
T: Sync,
impl<T> Unpin for Time<T>where
T: Unpin,
impl<T> UnwindSafe for Time<T>where
T: UnwindSafe,
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