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