Trait ckb_types::prelude::Pack[][src]

pub trait Pack<T: Entity> {
    fn pack(&self) -> T;
}
Expand description

A syntactic sugar to convert a rust type into binary data.

Required methods

Packs a rust type into binary data.

Implementations on Foreign Types

Implementors