pub struct Time {
pub start: Option<Instant>,
pub end: Option<Duration>,
pub unit: TimeUnit,
}
Fieldsยง
ยงstart: Option<Instant>
ยงend: Option<Duration>
ยงunit: TimeUnit
Implementationsยง
Trait Implementationsยง
Auto Trait Implementationsยง
impl Freeze for Time
impl RefUnwindSafe for Time
impl Send for Time
impl Sync for Time
impl Unpin for Time
impl UnwindSafe for Time
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