#[repr(transparent)]pub struct Approx<T>(pub T)
where
T: ApproxOrd;
Tuple Fields§
§0: T
Trait Implementations§
Source§impl<T> Ord for Approx<T>where
T: ApproxOrd,
impl<T> Ord for Approx<T>where
T: ApproxOrd,
Source§impl<T> PartialOrd for Approx<T>where
T: ApproxOrd,
impl<T> PartialOrd for Approx<T>where
T: ApproxOrd,
impl<T> Copy for Approx<T>
impl<T> Eq for Approx<T>where
T: ApproxOrd,
Auto Trait Implementations§
impl<T> Freeze for Approx<T>where
T: Freeze,
impl<T> RefUnwindSafe for Approx<T>where
T: RefUnwindSafe,
impl<T> Send for Approx<T>where
T: Send,
impl<T> Sync for Approx<T>where
T: Sync,
impl<T> Unpin for Approx<T>where
T: Unpin,
impl<T> UnwindSafe for Approx<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> AsTotalOrd for Twhere
T: PartialOrd,
impl<T> AsTotalOrd for Twhere
T: PartialOrd,
fn as_total_ord(&self) -> TotalOrd<&T>
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