#[repr(C)]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 copy 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)