Struct bern_units::time::MilliSecond
source · [−]pub struct MilliSecond(pub u64);
Tuple Fields
0: u64
Implementations
Trait Implementations
sourceimpl Add<MilliSecond> for MilliSecond
impl Add<MilliSecond> for MilliSecond
type Output = MilliSecond
type Output = MilliSecond
The resulting type after applying the +
operator.
sourcefn add(self, rhs: MilliSecond) -> MilliSecond
fn add(self, rhs: MilliSecond) -> MilliSecond
Performs the +
operation. Read more
sourceimpl Clone for MilliSecond
impl Clone for MilliSecond
sourcefn clone(&self) -> MilliSecond
fn clone(&self) -> MilliSecond
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MilliSecond
impl Debug for MilliSecond
sourceimpl<__RhsT> Div<__RhsT> for MilliSecond where
u64: Div<__RhsT, Output = u64>,
impl<__RhsT> Div<__RhsT> for MilliSecond where
u64: Div<__RhsT, Output = u64>,
type Output = MilliSecond
type Output = MilliSecond
The resulting type after applying the /
operator.
sourcefn div(self, rhs: __RhsT) -> MilliSecond
fn div(self, rhs: __RhsT) -> MilliSecond
Performs the /
operation. Read more
sourceimpl From<Day> for MilliSecond
impl From<Day> for MilliSecond
sourceimpl From<Hour> for MilliSecond
impl From<Hour> for MilliSecond
sourceimpl From<Minute> for MilliSecond
impl From<Minute> for MilliSecond
sourceimpl From<Second> for MilliSecond
impl From<Second> for MilliSecond
sourceimpl From<u32> for MilliSecond
impl From<u32> for MilliSecond
sourceimpl From<u64> for MilliSecond
impl From<u64> for MilliSecond
sourceimpl<__RhsT> Mul<__RhsT> for MilliSecond where
u64: Mul<__RhsT, Output = u64>,
impl<__RhsT> Mul<__RhsT> for MilliSecond where
u64: Mul<__RhsT, Output = u64>,
type Output = MilliSecond
type Output = MilliSecond
The resulting type after applying the *
operator.
sourcefn mul(self, rhs: __RhsT) -> MilliSecond
fn mul(self, rhs: __RhsT) -> MilliSecond
Performs the *
operation. Read more
sourceimpl PartialEq<MilliSecond> for MilliSecond
impl PartialEq<MilliSecond> for MilliSecond
sourcefn eq(&self, other: &MilliSecond) -> bool
fn eq(&self, other: &MilliSecond) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MilliSecond) -> bool
fn ne(&self, other: &MilliSecond) -> bool
This method tests for !=
.
sourceimpl PartialOrd<MilliSecond> for MilliSecond
impl PartialOrd<MilliSecond> for MilliSecond
sourcefn partial_cmp(&self, other: &MilliSecond) -> Option<Ordering>
fn partial_cmp(&self, other: &MilliSecond) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Sub<MilliSecond> for MilliSecond
impl Sub<MilliSecond> for MilliSecond
type Output = MilliSecond
type Output = MilliSecond
The resulting type after applying the -
operator.
sourcefn sub(self, rhs: MilliSecond) -> MilliSecond
fn sub(self, rhs: MilliSecond) -> MilliSecond
Performs the -
operation. Read more
impl Copy for MilliSecond
impl StructuralPartialEq for MilliSecond
Auto Trait Implementations
impl RefUnwindSafe for MilliSecond
impl Send for MilliSecond
impl Sync for MilliSecond
impl Unpin for MilliSecond
impl UnwindSafe for MilliSecond
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more