pub trait PrintableIndex {
// Required methods
fn to_string() -> &'static str;
fn to_possible_strings() -> &'static [&'static str];
}Expand description
Provides string representations of index types for display and region naming.
Required Methods§
Sourcefn to_possible_strings() -> &'static [&'static str]
fn to_possible_strings() -> &'static [&'static str]
Returns all accepted string representations for this index type. Used for parsing and type identification.
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.