[][src]Struct ckb_types::packed::Byte32

pub struct Byte32(_);

Implementations

impl Byte32[src]

pub const TOTAL_SIZE: usize[src]

pub const ITEM_SIZE: usize[src]

pub const ITEM_COUNT: usize[src]

pub fn nth0(&self) -> Byte[src]

pub fn nth1(&self) -> Byte[src]

pub fn nth2(&self) -> Byte[src]

pub fn nth3(&self) -> Byte[src]

pub fn nth4(&self) -> Byte[src]

pub fn nth5(&self) -> Byte[src]

pub fn nth6(&self) -> Byte[src]

pub fn nth7(&self) -> Byte[src]

pub fn nth8(&self) -> Byte[src]

pub fn nth9(&self) -> Byte[src]

pub fn nth10(&self) -> Byte[src]

pub fn nth11(&self) -> Byte[src]

pub fn nth12(&self) -> Byte[src]

pub fn nth13(&self) -> Byte[src]

pub fn nth14(&self) -> Byte[src]

pub fn nth15(&self) -> Byte[src]

pub fn nth16(&self) -> Byte[src]

pub fn nth17(&self) -> Byte[src]

pub fn nth18(&self) -> Byte[src]

pub fn nth19(&self) -> Byte[src]

pub fn nth20(&self) -> Byte[src]

pub fn nth21(&self) -> Byte[src]

pub fn nth22(&self) -> Byte[src]

pub fn nth23(&self) -> Byte[src]

pub fn nth24(&self) -> Byte[src]

pub fn nth25(&self) -> Byte[src]

pub fn nth26(&self) -> Byte[src]

pub fn nth27(&self) -> Byte[src]

pub fn nth28(&self) -> Byte[src]

pub fn nth29(&self) -> Byte[src]

pub fn nth30(&self) -> Byte[src]

pub fn nth31(&self) -> Byte[src]

pub fn raw_data(&self) -> Bytes[src]

pub fn as_reader<'r>(&'r self) -> Byte32Reader<'r>[src]

impl Byte32[src]

pub fn zero() -> Self[src]

Creates a new Bytes32 whose bits are all zeros.

pub fn max_value() -> Self[src]

Creates a new Byte32 whose bits are all ones.

pub fn is_zero(&self) -> bool[src]

Checks whether all bits in self are zeros.

pub fn new(v: [u8; 32]) -> Self[src]

Creates a new Bytes32.

Trait Implementations

impl Clone for Byte32[src]

impl Debug for Byte32[src]

impl Default for Byte32[src]

impl Display for Byte32[src]

impl Entity for Byte32[src]

type Builder = Byte32Builder

impl Eq for Byte32[src]

impl Hash for Byte32[src]

impl LowerHex for Byte32[src]

impl Ord for Byte32[src]

impl Pack<Byte32> for H256[src]

impl Pack<Byte32> for [u8; 32][src]

impl<T> PackVec<Byte32Vec, Byte32> for T where
    T: IntoIterator<Item = Byte32>, 
[src]

impl PartialEq<Byte32> for Byte32[src]

impl PartialOrd<Byte32> for Byte32[src]

impl Unpack<[u8; 32]> for Byte32[src]

impl Unpack<H256> for Byte32[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> PackVec<Byte32Vec, Byte32> for T where
    T: IntoIterator<Item = Byte32>, 
[src]

impl<T> PackVec<Byte32Vec, Byte32> for T where
    T: IntoIterator<Item = Byte32>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,