Struct ckb_types::packed::CellDepBuilder
source · pub struct CellDepBuilder { /* private fields */ }
Implementations§
source§impl CellDepBuilder
impl CellDepBuilder
pub const TOTAL_SIZE: usize = 37usize
pub const FIELD_SIZES: [usize; 2] = _
pub const FIELD_COUNT: usize = 2usize
pub fn out_point(self, v: OutPoint) -> CellDepBuilder
pub fn dep_type(self, v: Byte) -> CellDepBuilder
Trait Implementations§
source§impl Builder for CellDepBuilder
impl Builder for CellDepBuilder
source§impl Debug for CellDepBuilder
impl Debug for CellDepBuilder
source§impl Default for CellDepBuilder
impl Default for CellDepBuilder
source§fn default() -> CellDepBuilder
fn default() -> CellDepBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for CellDepBuilder
impl Send for CellDepBuilder
impl Sync for CellDepBuilder
impl Unpin for CellDepBuilder
impl UnwindSafe for CellDepBuilder
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