Struct stm32g0xx_hal::time::Hertz [−][src]
Hertz
Implementations
impl Hertz
[src]
pub fn duration(self, cycles: u32) -> MicroSecond
[src]
Trait Implementations
impl Add<Hertz> for Hertz
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: Self) -> Self::Output
[src]
impl Clone for Hertz
[src]
fn clone(&self) -> Hertz
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Hertz
[src]
impl Debug for Hertz
[src]
impl Div<Hertz> for Hertz
[src]
type Output = u32
The resulting type after applying the /
operator.
fn div(self, other: Self) -> Self::Output
[src]
impl From<Hertz> for MicroSecond
[src]
fn from(freq: Hertz) -> MicroSecond
[src]
impl From<MicroSecond> for Hertz
[src]
fn from(period: MicroSecond) -> Hertz
[src]
impl PartialEq<Hertz> for Hertz
[src]
impl PartialOrd<Hertz> for Hertz
[src]
fn partial_cmp(&self, other: &Hertz) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for Hertz
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,