Struct ckb_types::packed::ProposalShortIdVecReader [−][src]
pub struct ProposalShortIdVecReader<'r>(_);
Implementations
pub fn iter<'t>(&'t self) -> ProposalShortIdVecReaderIterator<'t, 'r>ⓘNotable traits for ProposalShortIdVecReaderIterator<'t, 'r>impl<'t: 'r, 'r> Iterator for ProposalShortIdVecReaderIterator<'t, 'r> type Item = ProposalShortIdReader<'t>;
Notable traits for ProposalShortIdVecReaderIterator<'t, 'r>
impl<'t: 'r, 'r> Iterator for ProposalShortIdVecReaderIterator<'t, 'r> type Item = ProposalShortIdReader<'t>;
Calculates the hash for proposals.
Returns the empty hash if no proposals short ids, otherwise, calculates a hash for all proposals short ids and return it.
Trait Implementations
type Entity = ProposalShortIdVec
Auto Trait Implementations
impl<'r> RefUnwindSafe for ProposalShortIdVecReader<'r>
impl<'r> Send for ProposalShortIdVecReader<'r>
impl<'r> Sync for ProposalShortIdVecReader<'r>
impl<'r> Unpin for ProposalShortIdVecReader<'r>
impl<'r> UnwindSafe for ProposalShortIdVecReader<'r>
Blanket Implementations
Mutably borrows from an owned value. Read more
Unwraps the result of from_slice(..)
with confidence and we assume that it’s impossible to fail.