pub trait TaggedVariant<T>where
T: TaggedField,{
const TAG: T::Tag;
// Provided method
fn has_tag(tag: impl Borrow<T::Tag>) -> bool { ... }
}Required Associated Constants§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".