[][src]Trait ssz::Size

pub trait Size {
    fn size() -> Option<usize>;

    fn is_fixed() -> bool { ... }
fn is_variable() -> bool { ... } }

Indicate the size type of the current ssz value.

Required methods

fn size() -> Option<usize>

The actual size of the value.

Loading content...

Provided methods

fn is_fixed() -> bool

Whether the value is fixed sized.

fn is_variable() -> bool

Whether the value is variable sized.

Loading content...

Implementors

impl Size for VariableSize[src]

impl<A: Size, B: Size> Size for Add<A, B>[src]

impl<A: Size, B: Size> Size for Div<A, B>[src]

impl<A: Size, B: Size> Size for Mul<A, B>[src]

impl<U: Unsigned> Size for U[src]

Loading content...