pub trait NormalizeName {
// Required method
fn normalize_name(&mut self) -> Result<(), NameError>;
}Expand description
Trait for normalizing the case of a name (e.g., lowercase).
Required Methods§
Sourcefn normalize_name(&mut self) -> Result<(), NameError>
fn normalize_name(&mut self) -> Result<(), NameError>
Normalizes the name to a consistent case (e.g., lowercase).
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".