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