[][src]Trait parity_scale_codec::CompactLen

pub trait CompactLen<T> {
    fn compact_len(val: &T) -> usize;
}

Something that can return the compact encoded length for a given value.

Required methods

fn compact_len(val: &T) -> usize

Returns the compact encoded length for the given value.

Loading content...

Implementors

impl CompactLen<u8> for Compact<u8>[src]

impl CompactLen<u16> for Compact<u16>[src]

impl CompactLen<u32> for Compact<u32>[src]

impl CompactLen<u64> for Compact<u64>[src]

impl CompactLen<u128> for Compact<u128>[src]

Loading content...