Struct hyperfuel_format::UInt
source · pub struct UInt(/* private fields */);Methods from Deref<Target = u64>§
pub const MIN: u64 = 0u64
pub const MAX: u64 = 18_446_744_073_709_551_615u64
pub const BITS: u32 = 64u32
Trait Implementations§
source§impl<'de> Deserialize<'de> for UInt
impl<'de> Deserialize<'de> for UInt
source§fn deserialize<D>(deserializer: D) -> StdResult<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> StdResult<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hex for UInt
impl Hex for UInt
fn encode_hex(&self) -> String
fn decode_hex(hex: &str) -> Result<Self>
fn encode_hex_with_quotes(&self) -> String
source§impl Ord for UInt
impl Ord for UInt
source§impl PartialEq for UInt
impl PartialEq for UInt
source§impl PartialOrd for UInt
impl PartialOrd 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 moreimpl Copy for UInt
impl Eq for UInt
impl StructuralPartialEq for UInt
Auto Trait Implementations§
impl Freeze for UInt
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