[][src]Trait blockchainblock::Byteable

pub trait Byteable {
    fn bytes(&self) -> Vec<u8>;
}

A trait for converting to bytes an object.

Required methods

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

Return the memory representation as a byte array in little-endian byte order.

Loading content...

Implementations on Foreign Types

impl Byteable for i32[src]

impl Byteable for String[src]

impl<T> Byteable for [T] where
    T: Byteable
[src]

Loading content...

Implementors

Loading content...