Struct bern_units::frequency::MilliHertz
source · [−]pub struct MilliHertz(pub u32);
Tuple Fields
0: u32
Implementations
Trait Implementations
sourceimpl Add<MilliHertz> for MilliHertz
impl Add<MilliHertz> for MilliHertz
type Output = MilliHertz
type Output = MilliHertz
The resulting type after applying the +
operator.
sourcefn add(self, rhs: MilliHertz) -> MilliHertz
fn add(self, rhs: MilliHertz) -> MilliHertz
Performs the +
operation. Read more
sourceimpl Clone for MilliHertz
impl Clone for MilliHertz
sourcefn clone(&self) -> MilliHertz
fn clone(&self) -> MilliHertz
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 MilliHertz
impl Debug for MilliHertz
sourceimpl<__RhsT> Div<__RhsT> for MilliHertz where
u32: Div<__RhsT, Output = u32>,
impl<__RhsT> Div<__RhsT> for MilliHertz where
u32: Div<__RhsT, Output = u32>,
type Output = MilliHertz
type Output = MilliHertz
The resulting type after applying the /
operator.
sourcefn div(self, rhs: __RhsT) -> MilliHertz
fn div(self, rhs: __RhsT) -> MilliHertz
Performs the /
operation. Read more
sourceimpl From<Hertz> for MilliHertz
impl From<Hertz> for MilliHertz
sourceimpl From<KiloHertz> for MilliHertz
impl From<KiloHertz> for MilliHertz
sourceimpl From<MegaHertz> for MilliHertz
impl From<MegaHertz> for MilliHertz
sourceimpl From<u32> for MilliHertz
impl From<u32> for MilliHertz
sourceimpl<__RhsT> Mul<__RhsT> for MilliHertz where
u32: Mul<__RhsT, Output = u32>,
impl<__RhsT> Mul<__RhsT> for MilliHertz where
u32: Mul<__RhsT, Output = u32>,
type Output = MilliHertz
type Output = MilliHertz
The resulting type after applying the *
operator.
sourcefn mul(self, rhs: __RhsT) -> MilliHertz
fn mul(self, rhs: __RhsT) -> MilliHertz
Performs the *
operation. Read more
sourceimpl PartialEq<MilliHertz> for MilliHertz
impl PartialEq<MilliHertz> for MilliHertz
sourcefn eq(&self, other: &MilliHertz) -> bool
fn eq(&self, other: &MilliHertz) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MilliHertz) -> bool
fn ne(&self, other: &MilliHertz) -> bool
This method tests for !=
.
sourceimpl PartialOrd<MilliHertz> for MilliHertz
impl PartialOrd<MilliHertz> for MilliHertz
sourcefn partial_cmp(&self, other: &MilliHertz) -> Option<Ordering>
fn partial_cmp(&self, other: &MilliHertz) -> 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<MilliHertz> for MilliHertz
impl Sub<MilliHertz> for MilliHertz
type Output = MilliHertz
type Output = MilliHertz
The resulting type after applying the -
operator.
sourcefn sub(self, rhs: MilliHertz) -> MilliHertz
fn sub(self, rhs: MilliHertz) -> MilliHertz
Performs the -
operation. Read more
impl Copy for MilliHertz
impl StructuralPartialEq for MilliHertz
Auto Trait Implementations
impl RefUnwindSafe for MilliHertz
impl Send for MilliHertz
impl Sync for MilliHertz
impl Unpin for MilliHertz
impl UnwindSafe for MilliHertz
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