pub struct SmallInt(/* private fields */);Expand description
An integer-like type that will store small integers up to i128 inline. Larger integers are
represented as a slice to a sequence of base 232 digits represented as a *mut u32.
Trait Implementations§
Source§impl Ord for SmallInt
impl Ord for SmallInt
Source§impl PartialOrd for SmallInt
impl PartialOrd for SmallInt
impl Eq for SmallInt
Auto Trait Implementations§
impl Freeze for SmallInt
impl RefUnwindSafe for SmallInt
impl !Send for SmallInt
impl !Sync for SmallInt
impl Unpin for SmallInt
impl UnwindSafe for SmallInt
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