Trait TagData

Source
pub trait TagData: Default {
    const TAG: &'static str;
}
Expand description

Trait for specifying a tag string associated with a type

This trait is used to specify the tag string for use with the Tag type.

Required Associated Constants§

Source

const TAG: &'static str

Tag string

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§