pub trait ToString {
// Required method
fn to_string(&self) -> String;
}
Available on crate feature
std
only.Expand description
Required Methods§
Implementors§
impl ToString for CpuFeature
impl ToString for AtomSignature
impl<T> ToString for T
Available on non-
no_global_oom_handling
only.§Panics
In this implementation, the to_string
method panics
if the Display
implementation returns an error.
This indicates an incorrect Display
implementation
since fmt::Write for String
never returns an error itself.