pub trait Formatted {
// Required method
fn get_format() -> (BaseType, ContainerType);
}Expand description
A trait that statically links simple data types to constant formats.
Required Methods§
Sourcefn get_format() -> (BaseType, ContainerType)
fn get_format() -> (BaseType, ContainerType)
Get the associated constant format.
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.