ScriptPubkeyExt

Trait ScriptPubkeyExt 

Source
pub trait ScriptPubkeyExt: AsPtr<btck_ScriptPubkey> {
    // Provided method
    fn to_bytes(&self) -> Vec<u8>  { ... }
}
Expand description

Common operations for script pubkeys, implemented by both owned and borrowed types.

Provided Methods§

Source

fn to_bytes(&self) -> Vec<u8>

Serializes the script to raw bytes.

Implementors§