Struct ckb_types::packed::BeUint64Reader
source · [−]pub struct BeUint64Reader<'r>(_);
Implementations
sourceimpl<'r> BeUint64Reader<'r>
impl<'r> BeUint64Reader<'r>
pub const TOTAL_SIZE: usize = 8usize
pub const ITEM_SIZE: usize = 1usize
pub const ITEM_COUNT: usize = 8usize
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 raw_data(&self) -> &'r [u8]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[u8]
Trait Implementations
sourceimpl<'r> Clone for BeUint64Reader<'r>
impl<'r> Clone for BeUint64Reader<'r>
sourcefn clone(&self) -> BeUint64Reader<'r>
fn clone(&self) -> BeUint64Reader<'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 BeUint64Reader<'r>
impl<'r> Debug for BeUint64Reader<'r>
sourceimpl<'r> Display for BeUint64Reader<'r>
impl<'r> Display for BeUint64Reader<'r>
sourceimpl<'r> LowerHex for BeUint64Reader<'r>
impl<'r> LowerHex for BeUint64Reader<'r>
sourceimpl<'r> Reader<'r> for BeUint64Reader<'r>
impl<'r> Reader<'r> for BeUint64Reader<'r>
type Entity = BeUint64
const NAME: &'static str = "BeUint64Reader"
fn to_entity(&self) -> Self::Entity
fn new_unchecked(slice: &'r [u8]) -> Self
fn as_slice(&self) -> &'r [u8]ⓘNotable traits for &mut [u8]impl Write for &mut [u8]impl Read for &[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<u64> for BeUint64Reader<'r>
impl<'r> Unpack<u64> for BeUint64Reader<'r>
impl<'r> Copy for BeUint64Reader<'r>
Auto Trait Implementations
impl<'r> RefUnwindSafe for BeUint64Reader<'r>
impl<'r> Send for BeUint64Reader<'r>
impl<'r> Sync for BeUint64Reader<'r>
impl<'r> Unpin for BeUint64Reader<'r>
impl<'r> UnwindSafe for BeUint64Reader<'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.