Struct fuel_types::ChainId
source · #[repr(transparent)]pub struct ChainId(_);Expand description
FuelVM atomic numeric type.
Implementations§
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 BorrowMut<u64> for ChainId
impl BorrowMut<u64> for ChainId
source§fn borrow_mut(&mut self) -> &mut u64
fn borrow_mut(&mut self) -> &mut u64
Mutably borrows from an owned value. Read more
source§impl Ord for ChainId
impl Ord for ChainId
source§impl PartialEq<ChainId> for ChainId
impl PartialEq<ChainId> for ChainId
source§impl PartialOrd<ChainId> for ChainId
impl PartialOrd<ChainId> for ChainId
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 TryFrom<&[u8]> for ChainId
impl TryFrom<&[u8]> for ChainId
§type Error = TryFromSliceError
type Error = TryFromSliceError
The type returned in the event of a conversion error.
impl Copy for ChainId
impl Eq for ChainId
impl StructuralEq for ChainId
impl StructuralPartialEq for ChainId
Auto Trait Implementations§
impl RefUnwindSafe for ChainId
impl Send for ChainId
impl Sync for ChainId
impl Unpin for ChainId
impl UnwindSafe for ChainId
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