Struct ckb_types::packed::ProposalShortIdBuilder
source · pub struct ProposalShortIdBuilder(/* private fields */);
Implementations§
source§impl ProposalShortIdBuilder
impl ProposalShortIdBuilder
pub const TOTAL_SIZE: usize = 10usize
pub const ITEM_SIZE: usize = 1usize
pub const ITEM_COUNT: usize = 10usize
pub fn set(self, v: [Byte; 10]) -> ProposalShortIdBuilder
pub fn nth0(self, v: Byte) -> ProposalShortIdBuilder
pub fn nth1(self, v: Byte) -> ProposalShortIdBuilder
pub fn nth2(self, v: Byte) -> ProposalShortIdBuilder
pub fn nth3(self, v: Byte) -> ProposalShortIdBuilder
pub fn nth4(self, v: Byte) -> ProposalShortIdBuilder
pub fn nth5(self, v: Byte) -> ProposalShortIdBuilder
pub fn nth6(self, v: Byte) -> ProposalShortIdBuilder
pub fn nth7(self, v: Byte) -> ProposalShortIdBuilder
pub fn nth8(self, v: Byte) -> ProposalShortIdBuilder
pub fn nth9(self, v: Byte) -> ProposalShortIdBuilder
Trait Implementations§
source§impl Builder for ProposalShortIdBuilder
impl Builder for ProposalShortIdBuilder
source§impl Debug for ProposalShortIdBuilder
impl Debug for ProposalShortIdBuilder
source§impl Default for ProposalShortIdBuilder
impl Default for ProposalShortIdBuilder
source§fn default() -> ProposalShortIdBuilder
fn default() -> ProposalShortIdBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ProposalShortIdBuilder
impl Send for ProposalShortIdBuilder
impl Sync for ProposalShortIdBuilder
impl Unpin for ProposalShortIdBuilder
impl UnwindSafe for ProposalShortIdBuilder
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