[][src]Trait parity_scale_codec::EncodeAsRef

pub trait EncodeAsRef<'a, T: 'a> {
    type RefType: Encode + From<&'a T>;
}

Something that can be encoded as a reference.

Associated Types

type RefType: Encode + From<&'a T>

The reference type that is used for encoding.

Loading content...

Implementors

impl<'a, T: 'a> EncodeAsRef<'a, T> for Compact<T> where
    CompactRef<'a, T>: Encode + From<&'a T>, 
[src]

type RefType = CompactRef<'a, T>

Loading content...