pub struct Uint64(/* private fields */);
Implementations§
Source§impl Uint64
impl Uint64
pub const TOTAL_SIZE: usize = 8usize
pub const ITEM_SIZE: usize = 1usize
pub const ITEM_COUNT: usize = 8usize
pub fn nth0(&self) -> Byte
pub fn nth1(&self) -> Byte
pub fn nth2(&self) -> Byte
pub fn nth3(&self) -> Byte
pub fn nth4(&self) -> Byte
pub fn nth5(&self) -> Byte
pub fn nth6(&self) -> Byte
pub fn nth7(&self) -> Byte
pub fn raw_data(&self) -> Bytes
pub fn as_reader<'r>(&'r self) -> Uint64Reader<'r>
Trait Implementations§
Source§impl Entity for Uint64
impl Entity for Uint64
const NAME: &'static str = "Uint64"
type Builder = Uint64Builder
fn new_unchecked(data: Bytes) -> Uint64
fn as_bytes(&self) -> Bytes
fn as_slice(&self) -> &[u8] ⓘ
fn from_slice(slice: &[u8]) -> Result<Uint64, VerificationError>
fn from_compatible_slice(slice: &[u8]) -> Result<Uint64, VerificationError>
fn new_builder() -> <Uint64 as Entity>::Builder
fn as_builder(self) -> <Uint64 as Entity>::Builder
Source§impl Ord for Uint64
impl Ord for Uint64
Source§impl Pack<Uint64> for EpochNumberWithFraction
impl Pack<Uint64> for EpochNumberWithFraction
Source§impl PartialOrd for Uint64
impl PartialOrd for Uint64
Source§impl Unpack<EpochNumberWithFraction> for Uint64
impl Unpack<EpochNumberWithFraction> for Uint64
Source§fn unpack(&self) -> EpochNumberWithFraction
fn unpack(&self) -> EpochNumberWithFraction
Unpack binary data into rust types.
impl Eq for Uint64
Auto Trait Implementations§
impl !Freeze for Uint64
impl RefUnwindSafe for Uint64
impl Send for Uint64
impl Sync for Uint64
impl Unpin for Uint64
impl UnwindSafe for Uint64
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)