pub enum Number<I, F> {
Float(F),
Integer(I),
}Variants§
Trait Implementations§
Source§impl<I: PartialOrd, F: PartialOrd> PartialOrd for Number<I, F>
impl<I: PartialOrd, F: PartialOrd> PartialOrd for Number<I, F>
impl<I: Copy, F: Copy> Copy for Number<I, F>
impl<I, F> StructuralPartialEq for Number<I, F>
Auto Trait Implementations§
impl<I, F> Freeze for Number<I, F>
impl<I, F> RefUnwindSafe for Number<I, F>where
F: RefUnwindSafe,
I: RefUnwindSafe,
impl<I, F> Send for Number<I, F>
impl<I, F> Sync for Number<I, F>
impl<I, F> Unpin for Number<I, F>
impl<I, F> UnwindSafe for Number<I, F>where
F: UnwindSafe,
I: 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