Trait code_gen::ToStaticStr
source · pub trait ToStaticStr {
// Required method
fn to_static_str(&self) -> &'static str;
}
Expand description
An element that can convert itself to a static string.
Required Methods§
sourcefn to_static_str(&self) -> &'static str
fn to_static_str(&self) -> &'static str
Converts the element to a static string.