Struct usvgr::NonZeroF64
source · pub struct NonZeroF64(/* private fields */);Expand description
A non-zero f64.
Just like f64 but immutable and guarantee to never be zero.
Implementations§
Trait Implementations§
source§impl Clone for NonZeroF64
impl Clone for NonZeroF64
source§fn clone(&self) -> NonZeroF64
fn clone(&self) -> NonZeroF64
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 NonZeroF64
impl Debug for NonZeroF64
source§impl Hash for NonZeroF64
impl Hash for NonZeroF64
impl Copy for NonZeroF64
Auto Trait Implementations§
impl Freeze for NonZeroF64
impl RefUnwindSafe for NonZeroF64
impl Send for NonZeroF64
impl Sync for NonZeroF64
impl Unpin for NonZeroF64
impl UnwindSafe for NonZeroF64
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