Struct ckb_types::packed::ProposalShortIdVecBuilder
source · pub struct ProposalShortIdVecBuilder(/* private fields */);
Implementations§
source§impl ProposalShortIdVecBuilder
impl ProposalShortIdVecBuilder
pub const ITEM_SIZE: usize = 10usize
pub fn set(self, v: Vec<ProposalShortId>) -> ProposalShortIdVecBuilder
pub fn push(self, v: ProposalShortId) -> ProposalShortIdVecBuilder
pub fn extend<T>(self, iter: T) -> ProposalShortIdVecBuilderwhere
T: IntoIterator<Item = ProposalShortId>,
pub fn replace( &mut self, index: usize, v: ProposalShortId ) -> Option<ProposalShortId>
Trait Implementations§
source§impl Builder for ProposalShortIdVecBuilder
impl Builder for ProposalShortIdVecBuilder
source§impl Debug for ProposalShortIdVecBuilder
impl Debug for ProposalShortIdVecBuilder
source§impl Default for ProposalShortIdVecBuilder
impl Default for ProposalShortIdVecBuilder
source§fn default() -> ProposalShortIdVecBuilder
fn default() -> ProposalShortIdVecBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ProposalShortIdVecBuilder
impl Send for ProposalShortIdVecBuilder
impl Sync for ProposalShortIdVecBuilder
impl Unpin for ProposalShortIdVecBuilder
impl UnwindSafe for ProposalShortIdVecBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more