#[derive(PassByCodec)]
Expand description

Derive macro for implementing PassBy with the Codec strategy.

This requires that the type implements Encode and Decode from parity-scale-codec.

Example

#[derive(PassByCodec, Encode, Decode)]
struct EncodableType {
    name: Vec<u8>,
    param: u32,
}