[][src]Struct ckb_standalone_types::packed::CellDepVec

pub struct CellDepVec(_);

Methods

impl CellDepVec[src]

pub const ITEM_SIZE: usize[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<CellDep>[src]

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

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

Trait Implementations

impl Clone for CellDepVec[src]

impl Debug for CellDepVec[src]

impl Default for CellDepVec[src]

impl Display for CellDepVec[src]

impl Entity for CellDepVec[src]

type Builder = CellDepVecBuilder

impl IntoIterator for CellDepVec[src]

type Item = CellDep

The type of the elements being iterated over.

type IntoIter = CellDepVecIterator

Which kind of iterator are we turning this into?

impl LowerHex for CellDepVec[src]

impl<T> PackVec<CellDepVec, CellDep> for T where
    T: IntoIterator<Item = CellDep>, 
[src]

Auto Trait Implementations

impl Send for CellDepVec

impl Sync for CellDepVec

impl Unpin for CellDepVec

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<CellDepVec, CellDep> for T where
    T: IntoIterator<Item = CellDep>, 
[src]

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