Trait std::string::ToString 1.0.0[−][src]
Expand description
Required methods
Implementors
impl<T> ToString for T where
T: Display + ?Sized,
This is supported 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.