Struct ckb_types::packed::OutPointVecBuilder
source · pub struct OutPointVecBuilder(/* private fields */);
Implementations§
source§impl OutPointVecBuilder
impl OutPointVecBuilder
pub const ITEM_SIZE: usize = 36usize
pub fn set(self, v: Vec<OutPoint>) -> OutPointVecBuilder
pub fn push(self, v: OutPoint) -> OutPointVecBuilder
pub fn extend<T>(self, iter: T) -> OutPointVecBuilderwhere T: IntoIterator<Item = OutPoint>,
pub fn replace(&mut self, index: usize, v: OutPoint) -> Option<OutPoint>
Trait Implementations§
source§impl Builder for OutPointVecBuilder
impl Builder for OutPointVecBuilder
source§impl Debug for OutPointVecBuilder
impl Debug for OutPointVecBuilder
source§impl Default for OutPointVecBuilder
impl Default for OutPointVecBuilder
source§fn default() -> OutPointVecBuilder
fn default() -> OutPointVecBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for OutPointVecBuilder
impl Send for OutPointVecBuilder
impl Sync for OutPointVecBuilder
impl Unpin for OutPointVecBuilder
impl UnwindSafe for OutPointVecBuilder
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