Struct usvg::NonZeroF64
source · [−]pub struct NonZeroF64(_);
Expand description
A non-zero f64
.
Just like f64
but immutable and guarantee to never be zero.
Implementations
Trait Implementations
sourceimpl Clone for NonZeroF64
impl Clone for NonZeroF64
sourcefn clone(&self) -> NonZeroF64
fn clone(&self) -> NonZeroF64
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 moresourceimpl Debug for NonZeroF64
impl Debug for NonZeroF64
impl Copy for NonZeroF64
Auto Trait Implementations
impl RefUnwindSafe for NonZeroF64
impl Send for NonZeroF64
impl Sync for NonZeroF64
impl Unpin for NonZeroF64
impl UnwindSafe for NonZeroF64
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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