Trait convert_case::Casing [−][src]
pub trait Casing {
fn to_case(&self, case: Case) -> String;
fn from_case(&self, case: Case) -> FromCasing;
}Describes items that can be converted into a case.
Implemented for string slices &str and owned strings String.
Required methods
fn to_case(&self, case: Case) -> String[src]
References self and converts to the given case.
fn from_case(&self, case: Case) -> FromCasing[src]
Creates a FromCasing struct, which saves information about
how to parse self before converting to a case.
Implementations on Foreign Types
impl Casing for str[src]
impl Casing for str[src]impl Casing for String[src]
impl Casing for String[src]Implementors
Loading content...