2 Checks for the definition of inherent methods with a signature of `to_string(&self) -> String`.
5 This method is also implicitly defined if a type implements the `Display` trait. As the functionality of `Display` is much more versatile, it should be preferred.
12 pub fn to_string(&self) -> String {
24 impl fmt::Display for A {
25 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {