pub trait IntoStr: Display {
// Provided methods
fn into_str(self) -> Str
where Self: Sized { ... }
fn into_str_mut(self) -> StrMut
where Self: Sized { ... }
fn to_str(&self) -> Str { ... }
fn to_strmut(&self) -> StrMut { ... }
}Expand description
Provided Methods§
Sourcefn into_str_mut(self) -> StrMutwhere
Self: Sized,
fn into_str_mut(self) -> StrMutwhere
Self: Sized,
Convert value to StrMut.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".