pub struct FromCasing { /* fields omitted */ }Holds information about parsing before converting into a case.
This struct is used when invoking the from_case method on
Casing. FromCasing also implements Casing.
use convert_case::{Case, Casing};
let title = "ninety-nine_problems".from_case(Case::Snake).to_case(Case::Title);
assert_eq!("Ninety-nine Problems", title);
References self and converts to the given case.
Creates a FromCasing struct, which saves information about
how to parse self before converting to a case. Read more
impl<T> Any for T where
T: 'static + ?Sized, [src]
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>, [src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.