pub trait EncodableWithShorthand<'tcx, E: TyEncoder<'tcx>>: Copy + Eq + Hash {
    type Variant: Encodable<E>;

    fn variant(&self) -> &Self::Variant;
}

Required Associated Types

Required Methods

Implementors