enum Exp<T> {
Shifted(u32),
NoShift(T),
}
Expand description
Representation of whether we shift the exponent into a u32
, or modify it in place to save
the shift operations.
Variants§
Shifted(u32)
The exponent has been shifted to a u32
and is LSB-aligned.
NoShift(T)
The exponent is in its natural position in integer repr.
Auto Trait Implementations§
impl<T> Freeze for Exp<T>where
T: Freeze,
impl<T> RefUnwindSafe for Exp<T>where
T: RefUnwindSafe,
impl<T> Send for Exp<T>where
T: Send,
impl<T> Sync for Exp<T>where
T: Sync,
impl<T> Unpin for Exp<T>where
T: Unpin,
impl<T> UnwindSafe for Exp<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