Trait std::to_str::ToStr
pub trait ToStr { fn to_str(&self) -> ~str; }
A generic trait for converting a value to a string
Required Methods
fn to_str(&self) -> ~str
Converts the value of self
to an owned string
pub trait ToStr { fn to_str(&self) -> ~str; }
A generic trait for converting a value to a string
fn to_str(&self) -> ~str
Converts the value of self
to an owned string
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).