pub struct Byte32(/* private fields */);
Implementations§
Source§impl Byte32
impl Byte32
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) -> Byte32Reader<'r>
Trait Implementations§
Source§impl Entity for Byte32
impl Entity for Byte32
const NAME: &'static str = "Byte32"
type Builder = Byte32Builder
fn new_unchecked(data: Bytes) -> Byte32
fn as_bytes(&self) -> Bytes
fn as_slice(&self) -> &[u8] ⓘ
fn from_slice(slice: &[u8]) -> Result<Byte32, VerificationError>
fn from_compatible_slice(slice: &[u8]) -> Result<Byte32, VerificationError>
fn new_builder() -> <Byte32 as Entity>::Builder
fn as_builder(self) -> <Byte32 as Entity>::Builder
Source§impl Ord for Byte32
impl Ord for Byte32
Source§impl PartialOrd for Byte32
impl PartialOrd for Byte32
impl Eq for Byte32
Auto Trait Implementations§
impl !Freeze for Byte32
impl RefUnwindSafe for Byte32
impl Send for Byte32
impl Sync for Byte32
impl Unpin for Byte32
impl UnwindSafe for Byte32
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
)