Struct ckb_types::packed::Uint256Reader
source · [−]pub struct Uint256Reader<'r>(_);Implementations
sourceimpl<'r> Uint256Reader<'r>
impl<'r> Uint256Reader<'r>
pub const TOTAL_SIZE: usize
pub const ITEM_SIZE: usize
pub const ITEM_COUNT: usize
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]ⓘNotable traits for &'_ [u8]impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
Trait Implementations
sourceimpl<'r> Clone for Uint256Reader<'r>
impl<'r> Clone for Uint256Reader<'r>
sourcefn clone(&self) -> Uint256Reader<'r>
fn clone(&self) -> Uint256Reader<'r>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'r> Debug for Uint256Reader<'r>
impl<'r> Debug for Uint256Reader<'r>
sourceimpl<'r> Display for Uint256Reader<'r>
impl<'r> Display for Uint256Reader<'r>
sourceimpl<'r> LowerHex for Uint256Reader<'r>
impl<'r> LowerHex for Uint256Reader<'r>
sourceimpl<'r> Reader<'r> for Uint256Reader<'r>
impl<'r> Reader<'r> for Uint256Reader<'r>
type Entity = Uint256
const NAME: &'static str
fn to_entity(&self) -> Self::Entity
fn new_unchecked(slice: &'r [u8]) -> Self
fn as_slice(&self) -> &'r [u8]ⓘNotable traits for &'_ [u8]impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [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>
sourceimpl<'r> Unpack<U256> for Uint256Reader<'r>
impl<'r> Unpack<U256> for Uint256Reader<'r>
impl<'r> Copy for Uint256Reader<'r>
Auto Trait Implementations
impl<'r> RefUnwindSafe for Uint256Reader<'r>
impl<'r> Send for Uint256Reader<'r>
impl<'r> Sync for Uint256Reader<'r>
impl<'r> Unpin for Uint256Reader<'r>
impl<'r> UnwindSafe for Uint256Reader<'r>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<'r, R> FromSliceShouldBeOk<'r> for R where
R: Reader<'r>,
impl<'r, R> FromSliceShouldBeOk<'r> for R where
R: Reader<'r>,
sourcefn 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.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more