Struct ckb_types::packed::CellOutputBuilder
source · [−]pub struct CellOutputBuilder { /* private fields */ }
Implementations
sourceimpl CellOutputBuilder
impl CellOutputBuilder
sourcepub fn build_exact_capacity(
self,
data_capacity: Capacity
) -> CapacityResult<CellOutput>
pub fn build_exact_capacity(
self,
data_capacity: Capacity
) -> CapacityResult<CellOutput>
Build a CellOutput
and sets its capacity
equal to its occupied capacity
exactly.
Trait Implementations
sourceimpl Builder for CellOutputBuilder
impl Builder for CellOutputBuilder
sourceimpl Debug for CellOutputBuilder
impl Debug for CellOutputBuilder
sourceimpl Default for CellOutputBuilder
impl Default for CellOutputBuilder
sourcefn default() -> CellOutputBuilder
fn default() -> CellOutputBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for CellOutputBuilder
impl Send for CellOutputBuilder
impl Sync for CellOutputBuilder
impl Unpin for CellOutputBuilder
impl UnwindSafe for CellOutputBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more