pub trait CowStrUtils<'a> {
// Required methods
fn split_at(&self, mid: usize) -> (Cow<'a, str>, Cow<'a, str>);
fn to_os_str(self) -> Cow<'a, OsStr>;
}Required Methods§
fn split_at(&self, mid: usize) -> (Cow<'a, str>, Cow<'a, str>)
fn to_os_str(self) -> Cow<'a, OsStr>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".