pub struct MaybeHertz(/* private fields */);Expand description
Implementations§
Trait Implementations§
Source§impl Clone for MaybeHertz
 
impl Clone for MaybeHertz
Source§fn clone(&self) -> MaybeHertz
 
fn clone(&self) -> MaybeHertz
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for MaybeHertz
 
impl Debug for MaybeHertz
Source§impl Default for MaybeHertz
 
impl Default for MaybeHertz
Source§fn default() -> MaybeHertz
 
fn default() -> MaybeHertz
Returns the “default value” for a type. Read more
Source§impl Format for MaybeHertz
 
impl Format for MaybeHertz
Source§impl From<MaybeHertz> for Option<Hertz>
 
impl From<MaybeHertz> for Option<Hertz>
Source§fn from(value: MaybeHertz) -> Self
 
fn from(value: MaybeHertz) -> Self
Converts to this type from the input type.
Source§impl Ord for MaybeHertz
 
impl Ord for MaybeHertz
Source§fn cmp(&self, other: &MaybeHertz) -> Ordering
 
fn cmp(&self, other: &MaybeHertz) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MaybeHertz
 
impl PartialEq for MaybeHertz
Source§impl PartialOrd for MaybeHertz
 
impl PartialOrd for MaybeHertz
impl Copy for MaybeHertz
impl Eq for MaybeHertz
impl StructuralPartialEq for MaybeHertz
Auto Trait Implementations§
impl Freeze for MaybeHertz
impl RefUnwindSafe for MaybeHertz
impl Send for MaybeHertz
impl Sync for MaybeHertz
impl Unpin for MaybeHertz
impl UnwindSafe for MaybeHertz
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