Struct ckb_types::packed::ProposalShortIdVecBuilder
source · [−]pub struct ProposalShortIdVecBuilder(_);
Implementations
sourceimpl ProposalShortIdVecBuilder
impl ProposalShortIdVecBuilder
pub const ITEM_SIZE: usize = 10usize
pub fn set(self, v: Vec<ProposalShortId>) -> Self
pub fn push(self, v: ProposalShortId) -> Self
pub fn extend<T: IntoIterator<Item = ProposalShortId>>(self, iter: T) -> Self
pub fn replace(
&mut self,
index: usize,
v: ProposalShortId
) -> Option<ProposalShortId>
Trait Implementations
sourceimpl Builder for ProposalShortIdVecBuilder
impl Builder for ProposalShortIdVecBuilder
sourceimpl Debug for ProposalShortIdVecBuilder
impl Debug for ProposalShortIdVecBuilder
sourceimpl Default for ProposalShortIdVecBuilder
impl Default for ProposalShortIdVecBuilder
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more