[][src]Struct ckb_standalone_types::packed::BytesVec

pub struct BytesVec(_);

Implementations

impl BytesVec[src]

pub fn total_size(&self) -> usize[src]

pub fn item_count(&self) -> usize[src]

pub fn len(&self) -> usize[src]

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

pub fn get(&self, idx: usize) -> Option<Bytes>[src]

pub fn get_unchecked(&self, idx: usize) -> Bytes[src]

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

Trait Implementations

impl Clone for BytesVec[src]

impl Debug for BytesVec[src]

impl Default for BytesVec[src]

impl Display for BytesVec[src]

impl Entity for BytesVec[src]

type Builder = BytesVecBuilder

impl IntoIterator for BytesVec[src]

type Item = Bytes

The type of the elements being iterated over.

type IntoIter = BytesVecIterator

Which kind of iterator are we turning this into?

impl LowerHex for BytesVec[src]

impl Pack<BytesVec> for [Bytes][src]

impl<T> PackVec<BytesVec, Bytes> for T where
    T: IntoIterator<Item = Bytes>, 
[src]

impl Unpack<Vec<Bytes>> for BytesVec[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<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T> PackVec<BytesVec, Bytes> for T where
    T: IntoIterator<Item = Bytes>, 
[src]

impl<T> PackVec<BytesVec, Bytes> for T where
    T: IntoIterator<Item = Bytes>, 
[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.