[][src]Trait ckb_standalone_types::prelude::Pack

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

Required methods

fn pack(&self) -> T

Loading content...

Implementations on Foreign Types

impl Pack<ScriptOpt> for Option<Script>[src]

impl Pack<Bytes> for String[src]

impl<'_> Pack<BytesOpt> for Option<&'_ str>[src]

impl Pack<BytesOpt> for Option<String>[src]

impl Pack<BytesOpt> for Option<Bytes>[src]

Loading content...

Implementors

impl Pack<Byte32> for [u8; 32][src]

impl Pack<Bytes> for Bytes[src]

impl Pack<Bytes> for [u8][src]

impl Pack<Bytes> for str[src]

impl Pack<BytesVec> for [Bytes][src]

impl Pack<ProposalShortId> for [u8; 10][src]

impl Pack<Uint128> for u128[src]

impl Pack<Uint32> for usize[src]

impl Pack<Uint32> for u32[src]

impl Pack<Uint64> for u64[src]

Loading content...