pub struct Byte32Reader<'r>(/* private fields */);
Implementations§
Source§impl<'r> Byte32Reader<'r>
impl<'r> Byte32Reader<'r>
pub const TOTAL_SIZE: usize = 32usize
pub const ITEM_SIZE: usize = 1usize
pub const ITEM_COUNT: usize = 32usize
pub fn nth0(&self) -> ByteReader<'r>
pub fn nth1(&self) -> ByteReader<'r>
pub fn nth2(&self) -> ByteReader<'r>
pub fn nth3(&self) -> ByteReader<'r>
pub fn nth4(&self) -> ByteReader<'r>
pub fn nth5(&self) -> ByteReader<'r>
pub fn nth6(&self) -> ByteReader<'r>
pub fn nth7(&self) -> ByteReader<'r>
pub fn nth8(&self) -> ByteReader<'r>
pub fn nth9(&self) -> ByteReader<'r>
pub fn nth10(&self) -> ByteReader<'r>
pub fn nth11(&self) -> ByteReader<'r>
pub fn nth12(&self) -> ByteReader<'r>
pub fn nth13(&self) -> ByteReader<'r>
pub fn nth14(&self) -> ByteReader<'r>
pub fn nth15(&self) -> ByteReader<'r>
pub fn nth16(&self) -> ByteReader<'r>
pub fn nth17(&self) -> ByteReader<'r>
pub fn nth18(&self) -> ByteReader<'r>
pub fn nth19(&self) -> ByteReader<'r>
pub fn nth20(&self) -> ByteReader<'r>
pub fn nth21(&self) -> ByteReader<'r>
pub fn nth22(&self) -> ByteReader<'r>
pub fn nth23(&self) -> ByteReader<'r>
pub fn nth24(&self) -> ByteReader<'r>
pub fn nth25(&self) -> ByteReader<'r>
pub fn nth26(&self) -> ByteReader<'r>
pub fn nth27(&self) -> ByteReader<'r>
pub fn nth28(&self) -> ByteReader<'r>
pub fn nth29(&self) -> ByteReader<'r>
pub fn nth30(&self) -> ByteReader<'r>
pub fn nth31(&self) -> ByteReader<'r>
pub fn raw_data(&self) -> &'r [u8] ⓘ
Trait Implementations§
Source§impl<'r> Clone for Byte32Reader<'r>
impl<'r> Clone for Byte32Reader<'r>
Source§fn clone(&self) -> Byte32Reader<'r>
fn clone(&self) -> Byte32Reader<'r>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'r> Debug for Byte32Reader<'r>
impl<'r> Debug for Byte32Reader<'r>
Source§impl<'r> Display for Byte32Reader<'r>
impl<'r> Display for Byte32Reader<'r>
Source§impl<'r> LowerHex for Byte32Reader<'r>
impl<'r> LowerHex for Byte32Reader<'r>
Source§impl<'r> Reader<'r> for Byte32Reader<'r>
impl<'r> Reader<'r> for Byte32Reader<'r>
const NAME: &'static str = "Byte32Reader"
type Entity = Byte32
fn to_entity(&self) -> Self::Entity
fn new_unchecked(slice: &'r [u8]) -> Self
fn as_slice(&self) -> &'r [u8] ⓘ
fn verify(slice: &[u8], _compatible: bool) -> VerificationResult<()>
fn from_slice(slice: &'r [u8]) -> Result<Self, VerificationError>
fn from_compatible_slice(slice: &'r [u8]) -> Result<Self, VerificationError>
Source§impl<'r> Unpack<H256> for Byte32Reader<'r>
impl<'r> Unpack<H256> for Byte32Reader<'r>
impl<'r> Copy for Byte32Reader<'r>
Auto Trait Implementations§
impl<'r> Freeze for Byte32Reader<'r>
impl<'r> RefUnwindSafe for Byte32Reader<'r>
impl<'r> Send for Byte32Reader<'r>
impl<'r> Sync for Byte32Reader<'r>
impl<'r> Unpin for Byte32Reader<'r>
impl<'r> UnwindSafe for Byte32Reader<'r>
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<'r, R> FromSliceShouldBeOk<'r> for Rwhere
R: Reader<'r>,
impl<'r, R> FromSliceShouldBeOk<'r> for Rwhere
R: Reader<'r>,
Source§fn from_slice_should_be_ok(slice: &'r [u8]) -> R
fn from_slice_should_be_ok(slice: &'r [u8]) -> R
Unwraps the result of
from_slice(..)
with confidence and we assume that it’s impossible to fail.Source§fn from_compatible_slice_should_be_ok(slice: &'r [u8]) -> R
fn from_compatible_slice_should_be_ok(slice: &'r [u8]) -> R
Unwraps the result of
from_compatible_slice(..)
with confidence and we assume that it’s impossible to fail.