pub struct TimeUnitId(pub usize);Tuple Fields§
§0: usizeTrait Implementations§
Source§impl Clone for TimeUnitId
impl Clone for TimeUnitId
Source§fn clone(&self) -> TimeUnitId
fn clone(&self) -> TimeUnitId
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 TimeUnitId
Source§impl Debug for TimeUnitId
impl Debug for TimeUnitId
impl Eq for TimeUnitId
Source§impl Hash for TimeUnitId
impl Hash for TimeUnitId
Source§impl PartialEq for TimeUnitId
impl PartialEq for TimeUnitId
Source§fn eq(&self, other: &TimeUnitId) -> bool
fn eq(&self, other: &TimeUnitId) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TimeUnitId
Auto Trait Implementations§
impl Freeze for TimeUnitId
impl RefUnwindSafe for TimeUnitId
impl Send for TimeUnitId
impl Sync for TimeUnitId
impl Unpin for TimeUnitId
impl UnsafeUnpin for TimeUnitId
impl UnwindSafe for TimeUnitId
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