pub trait HasWidth {
// Required method
fn width(&self) -> Width;
}Expand description
Support for returning the unicode width of a text object
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".