ckb_types::prelude

Trait AsBlockBuilder

Source
pub trait AsBlockBuilder {
    // Required methods
    fn new_advanced_builder() -> BlockBuilder;
    fn as_advanced_builder(&self) -> BlockBuilder;
}
Expand description

Trait for obtaining an advanced builder for BlockView.

Required Methods§

Source

fn new_advanced_builder() -> BlockBuilder

Creates a new advanced builder for BlockView.

Source

fn as_advanced_builder(&self) -> BlockBuilder

Gets an advanced builder from the implementing type.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§