Trait parity_scale_codec::EncodeAsRef[][src]

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

Something that can be encoded as a reference.

Associated Types

The reference type that is used for encoding.

Implementors