Struct tiny_skia_path::floating_point::FiniteF32
source · #[repr(transparent)]pub struct FiniteF32(pub(crate) f32);
Expand description
An immutable, finite f32
.
Unlike f32
, implements Ord
, PartialOrd
and Hash
.
Tuple Fields§
§0: f32
Implementations§
Trait Implementations§
source§impl Ord for FiniteF32
impl Ord for FiniteF32
source§impl PartialOrd for FiniteF32
impl PartialOrd for FiniteF32
impl Copy for FiniteF32
impl Eq for FiniteF32
Auto Trait Implementations§
impl Freeze for FiniteF32
impl RefUnwindSafe for FiniteF32
impl Send for FiniteF32
impl Sync for FiniteF32
impl Unpin for FiniteF32
impl UnwindSafe for FiniteF32
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
)