pub struct FromCasing { /* private fields */ }
Expand description
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);
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FromCasing
impl RefUnwindSafe for FromCasing
impl Send for FromCasing
impl Sync for FromCasing
impl Unpin for FromCasing
impl UnwindSafe for FromCasing
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more