[][src]Trait parity_codec::HasCompact

pub trait HasCompact: Sized {
    type Type: for<'a> EncodeAsRef<'a, Self> + Decode + From<Self> + Into<Self> + Clone + PartialEq + Eq + MaybeDebugSerde;
}

Trait that tells you if a given type can be encoded/decoded in a compact way.

Associated Types

type Type: for<'a> EncodeAsRef<'a, Self> + Decode + From<Self> + Into<Self> + Clone + PartialEq + Eq + MaybeDebugSerde

The compact type; this can be

Loading content...

Implementors

impl<T: 'static> HasCompact for T where
    Compact<T>: for<'a> EncodeAsRef<'a, T> + Decode + From<Self> + Into<Self> + Clone + PartialEq + Eq + MaybeDebugSerde, 
[src]

type Type = Compact<T>

Loading content...