Trait rustc_middle::ty::codec::EncodableWithShorthand
source · pub trait EncodableWithShorthand<E: TyEncoder>: Copy + Eq + Hash {
type Variant: Encodable<E>;
// Required method
fn variant(&self) -> &Self::Variant;
}
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.