pub struct Uint256(/* private fields */);
Implementations§
Source§impl Uint256
impl Uint256
pub const TOTAL_SIZE: usize = 32usize
pub const ITEM_SIZE: usize = 1usize
pub const ITEM_COUNT: usize = 32usize
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 nth16(&self) -> Byte
pub fn nth17(&self) -> Byte
pub fn nth18(&self) -> Byte
pub fn nth19(&self) -> Byte
pub fn nth20(&self) -> Byte
pub fn nth21(&self) -> Byte
pub fn nth22(&self) -> Byte
pub fn nth23(&self) -> Byte
pub fn nth24(&self) -> Byte
pub fn nth25(&self) -> Byte
pub fn nth26(&self) -> Byte
pub fn nth27(&self) -> Byte
pub fn nth28(&self) -> Byte
pub fn nth29(&self) -> Byte
pub fn nth30(&self) -> Byte
pub fn nth31(&self) -> Byte
pub fn raw_data(&self) -> Bytes
pub fn as_reader<'r>(&'r self) -> Uint256Reader<'r>
Trait Implementations§
Source§impl Entity for Uint256
impl Entity for Uint256
const NAME: &'static str = "Uint256"
type Builder = Uint256Builder
fn new_unchecked(data: Bytes) -> Self
fn as_bytes(&self) -> Bytes
fn as_slice(&self) -> &[u8] ⓘ
fn from_slice(slice: &[u8]) -> VerificationResult<Self>
fn from_compatible_slice(slice: &[u8]) -> VerificationResult<Self>
fn new_builder() -> Self::Builder
fn as_builder(self) -> Self::Builder
Source§impl Ord for Uint256
impl Ord for Uint256
Source§impl PartialOrd for Uint256
impl PartialOrd for Uint256
impl Eq for Uint256
Auto Trait Implementations§
impl !Freeze for Uint256
impl RefUnwindSafe for Uint256
impl Send for Uint256
impl Sync for Uint256
impl Unpin for Uint256
impl UnwindSafe for Uint256
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
)Source§impl<T> PackVec<Uint256Vec, Uint256> for Twhere
T: IntoIterator<Item = Uint256>,
impl<T> PackVec<Uint256Vec, Uint256> for Twhere
T: IntoIterator<Item = Uint256>,
Source§fn pack(self) -> Uint256Vec
fn pack(self) -> Uint256Vec
Packs a vector of binary data into one binary data.