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 Freeze for ProposalShortIdVecBuilder
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