pub struct PortableClock {
pub seconds: i32,
pub micros: i32,
}Fields§
§seconds: i32§micros: i32Trait Implementations§
Source§impl Clone for PortableClock
impl Clone for PortableClock
Source§fn clone(&self) -> PortableClock
fn clone(&self) -> PortableClock
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PortableClock
Source§impl Debug for PortableClock
impl Debug for PortableClock
Source§impl Default for PortableClock
impl Default for PortableClock
Source§fn default() -> PortableClock
fn default() -> PortableClock
Returns the “default value” for a type. Read more
impl Eq for PortableClock
Source§impl PartialEq for PortableClock
impl PartialEq for PortableClock
impl StructuralPartialEq for PortableClock
Auto Trait Implementations§
impl Freeze for PortableClock
impl RefUnwindSafe for PortableClock
impl Send for PortableClock
impl Sync for PortableClock
impl Unpin for PortableClock
impl UnsafeUnpin for PortableClock
impl UnwindSafe for PortableClock
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