hpl_toolkit::compression

Trait ToNode

Source
pub trait ToNode {
    // Required method
    fn to_node(&self) -> [u8; 32];
}

Required Methods§

Source

fn to_node(&self) -> [u8; 32]

Implementations on Foreign Types§

Source§

impl ToNode for bool

Source§

fn to_node(&self) -> [u8; 32]

Source§

impl ToNode for f32

Source§

fn to_node(&self) -> [u8; 32]

Source§

impl ToNode for f64

Source§

fn to_node(&self) -> [u8; 32]

Source§

impl ToNode for i8

Source§

fn to_node(&self) -> [u8; 32]

Source§

impl ToNode for i16

Source§

fn to_node(&self) -> [u8; 32]

Source§

impl ToNode for i32

Source§

fn to_node(&self) -> [u8; 32]

Source§

impl ToNode for i64

Source§

fn to_node(&self) -> [u8; 32]

Source§

impl ToNode for u8

Source§

fn to_node(&self) -> [u8; 32]

Source§

impl ToNode for u16

Source§

fn to_node(&self) -> [u8; 32]

Source§

impl ToNode for u32

Source§

fn to_node(&self) -> [u8; 32]

Source§

impl ToNode for u64

Source§

fn to_node(&self) -> [u8; 32]

Source§

impl ToNode for String

Source§

fn to_node(&self) -> [u8; 32]

Source§

impl ToNode for Pubkey

Source§

fn to_node(&self) -> [u8; 32]

Source§

impl ToNode for [u8; 32]

Source§

fn to_node(&self) -> [u8; 32]

Source§

impl<A: ToNode, B: ToNode> ToNode for (A, B)

Source§

fn to_node(&self) -> [u8; 32]

Source§

impl<A: ToNode, B: ToNode, C: ToNode> ToNode for (A, B, C)

Source§

fn to_node(&self) -> [u8; 32]

Source§

impl<T: ToNode> ToNode for Option<T>

Source§

fn to_node(&self) -> [u8; 32]

Source§

impl<T: ToNode> ToNode for Vec<T>

Source§

fn to_node(&self) -> [u8; 32]

Source§

impl<V: ToNode> ToNode for HashMap<String, V>

Source§

fn to_node(&self) -> [u8; 32]

Implementors§