Trait ckb_types::prelude::PackVec [−][src]
pub trait PackVec<T: Entity, I: Entity>: IntoIterator<Item = I> { fn pack(self) -> T; }
Expand description
A syntactic sugar to convert a vector of binary data into one binary data.
Required methods
Implementors
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]fn pack(self) -> CellDepVec
[src]
impl<T> PackVec<CellInputVec, CellInput> for T where
T: IntoIterator<Item = CellInput>,
[src]
impl<T> PackVec<CellInputVec, CellInput> for T where
T: IntoIterator<Item = CellInput>,
[src]fn pack(self) -> CellInputVec
[src]
impl<T> PackVec<CellOutputVec, CellOutput> for T where
T: IntoIterator<Item = CellOutput>,
[src]
impl<T> PackVec<CellOutputVec, CellOutput> for T where
T: IntoIterator<Item = CellOutput>,
[src]fn pack(self) -> CellOutputVec
[src]
impl<T> PackVec<IndexTransactionVec, IndexTransaction> for T where
T: IntoIterator<Item = IndexTransaction>,
[src]
impl<T> PackVec<IndexTransactionVec, IndexTransaction> for T where
T: IntoIterator<Item = IndexTransaction>,
[src]fn pack(self) -> IndexTransactionVec
[src]
impl<T> PackVec<OutPointVec, OutPoint> for T where
T: IntoIterator<Item = OutPoint>,
[src]
impl<T> PackVec<OutPointVec, OutPoint> for T where
T: IntoIterator<Item = OutPoint>,
[src]fn pack(self) -> OutPointVec
[src]
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]fn pack(self) -> ProposalShortIdVec
[src]
impl<T> PackVec<RelayTransactionVec, RelayTransaction> for T where
T: IntoIterator<Item = RelayTransaction>,
[src]
impl<T> PackVec<RelayTransactionVec, RelayTransaction> for T where
T: IntoIterator<Item = RelayTransaction>,
[src]fn pack(self) -> RelayTransactionVec
[src]
impl<T> PackVec<TransactionVec, Transaction> for T where
T: IntoIterator<Item = Transaction>,
[src]
impl<T> PackVec<TransactionVec, Transaction> for T where
T: IntoIterator<Item = Transaction>,
[src]fn pack(self) -> TransactionVec
[src]
impl<T> PackVec<UncleBlockVec, UncleBlock> for T where
T: IntoIterator<Item = UncleBlock>,
[src]
impl<T> PackVec<UncleBlockVec, UncleBlock> for T where
T: IntoIterator<Item = UncleBlock>,
[src]