Trait std::to_str::ToStr[src]

pub trait ToStr {
    fn to_str(&self) -> String;
}

A generic trait for converting a value to a string

Required Methods

fn to_str(&self) -> String

Converts the value of self to an owned string

Implementors