pub enum UInt {
U64(u64),
BigUInt(BigUint),
}
Expand description
Represents a UInt of any size. Used for reading binary integers and symbol Ids. Used to represent the unsigned magnitude of Decimal values and fractional seconds.
Variants§
Trait Implementations§
source§impl Ord for UInt
impl Ord for UInt
source§impl PartialEq<UInt> for UInt
impl PartialEq<UInt> for UInt
source§impl PartialOrd<UInt> for UInt
impl PartialOrd<UInt> for UInt
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl ToBigUint for UInt
impl ToBigUint for UInt
source§fn to_biguint(&self) -> Option<BigUint>
fn to_biguint(&self) -> Option<BigUint>
Converts the value of
self
to a BigUint
.impl Eq for UInt
Auto Trait Implementations§
impl RefUnwindSafe for UInt
impl Send for UInt
impl Sync for UInt
impl Unpin for UInt
impl UnwindSafe for UInt
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