pub struct Uint128(/* private fields */);
Implementations§
source§impl Uint128
impl Uint128
pub const TOTAL_SIZE: usize = 16usize
pub const ITEM_SIZE: usize = 1usize
pub const ITEM_COUNT: usize = 16usize
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 nth8(&self) -> Byte
pub fn nth9(&self) -> Byte
pub fn nth10(&self) -> Byte
pub fn nth11(&self) -> Byte
pub fn nth12(&self) -> Byte
pub fn nth13(&self) -> Byte
pub fn nth14(&self) -> Byte
pub fn nth15(&self) -> Byte
pub fn raw_data(&self) -> Bytes
pub fn as_reader<'r>(&'r self) -> Uint128Reader<'r>
Trait Implementations§
source§impl Entity for Uint128
impl Entity for Uint128
type Builder = Uint128Builder
const NAME: &'static str = "Uint128"
fn new_unchecked(data: Bytes) -> Uint128
fn as_bytes(&self) -> Bytes
fn as_slice(&self) -> &[u8] ⓘ
fn from_slice(slice: &[u8]) -> Result<Uint128, VerificationError>
fn from_compatible_slice(slice: &[u8]) -> Result<Uint128, VerificationError>
fn new_builder() -> <Uint128 as Entity>::Builder
fn as_builder(self) -> <Uint128 as Entity>::Builder
source§impl Ord for Uint128
impl Ord for Uint128
source§impl PartialEq for Uint128
impl PartialEq for Uint128
source§impl PartialOrd for Uint128
impl PartialOrd for Uint128
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 Eq for Uint128
Auto Trait Implementations§
impl RefUnwindSafe for Uint128
impl Send for Uint128
impl Sync for Uint128
impl Unpin for Uint128
impl UnwindSafe for Uint128
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