pub trait ToString {
// Required method
fn to_string(&self) -> String;
}
Expand description
Required Methods§
Implementors§
impl ToString for Semantic
impl ToString for Checked<Semantic>
impl<T> ToString for T
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.