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