pub trait StringUtils: AsStr + RUMStringConversions {
// Provided methods
fn duplicate(&self, count: usize) -> RUMString { ... }
fn truncate(&self, count: usize) -> RUMString { ... }
}Provided Methods§
fn duplicate(&self, count: usize) -> RUMString
fn truncate(&self, count: usize) -> RUMString
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".