[][src]Struct ckb_types::packed::ProposalShortIdVec

pub struct ProposalShortIdVec(_);

Implementations

impl ProposalShortIdVec[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<ProposalShortId>[src]

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

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

impl ProposalShortIdVec[src]

Trait Implementations

impl Clone for ProposalShortIdVec[src]

impl Debug for ProposalShortIdVec[src]

impl Default for ProposalShortIdVec[src]

impl Display for ProposalShortIdVec[src]

impl Entity for ProposalShortIdVec[src]

impl IntoIterator for ProposalShortIdVec[src]

type Item = ProposalShortId

The type of the elements being iterated over.

type IntoIter = ProposalShortIdVecIterator

Which kind of iterator are we turning this into?

impl LowerHex for ProposalShortIdVec[src]

impl<T> PackVec<ProposalShortIdVec, ProposalShortId> for T where
    T: IntoIterator<Item = ProposalShortId>, 
[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<ProposalShortIdVec, ProposalShortId> for T where
    T: IntoIterator<Item = ProposalShortId>, 
[src]

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