pub struct ClosedOpenUnit<T: FloatExt>(/* private fields */);
Expand description
Floating point number in [0.0, 1.0)
Trait Implementations§
Source§impl<T: Clone + FloatExt> Clone for ClosedOpenUnit<T>
impl<T: Clone + FloatExt> Clone for ClosedOpenUnit<T>
Source§fn clone(&self) -> ClosedOpenUnit<T>
fn clone(&self) -> ClosedOpenUnit<T>
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<T: PartialOrd + FloatExt> PartialOrd for ClosedOpenUnit<T>
impl<T: PartialOrd + FloatExt> PartialOrd for ClosedOpenUnit<T>
impl<T: Copy + FloatExt> Copy for ClosedOpenUnit<T>
impl<T: FloatExt> StructuralPartialEq for ClosedOpenUnit<T>
Auto Trait Implementations§
impl<T> Freeze for ClosedOpenUnit<T>where
T: Freeze,
impl<T> RefUnwindSafe for ClosedOpenUnit<T>where
T: RefUnwindSafe,
impl<T> Send for ClosedOpenUnit<T>where
T: Send,
impl<T> Sync for ClosedOpenUnit<T>where
T: Sync,
impl<T> Unpin for ClosedOpenUnit<T>where
T: Unpin,
impl<T> UnwindSafe for ClosedOpenUnit<T>where
T: UnwindSafe,
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
)