pub struct Seconds(pub Duration);Expand description
A duration whose bare numbers are seconds.
Tuple Fields§
§0: DurationTrait Implementations§
impl Copy for Seconds
impl Eq for Seconds
impl StructuralPartialEq for Seconds
Auto Trait Implementations§
impl Forget for Seconds
impl Freeze for Seconds
impl Move for Seconds
impl RefUnwindSafe for Seconds
impl Send for Seconds
impl Sync for Seconds
impl Unpin for Seconds
impl UnsafeUnpin for Seconds
impl UnwindSafe for Seconds
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