pub trait SliceExt {
// Required methods
fn trim(&self) -> &Self;
fn trim_trailing(&self) -> &Self;
}
Expand description
Misc utilities.
Required Methods§
fn trim(&self) -> &Self
fn trim_trailing(&self) -> &Self
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.