pub struct TransCase { /* private fields */ }Implementations§
Source§impl TransCase
Trans Case
impl TransCase
Trans Case
Transform case.
§Example
use trans_case::{TransCase, Case};
let sentence = TransCase::new("trans-case in rust");
println!("{}", sentence.case(Case::Upper)); // TRANS CASE IN RUST
println!("{}", sentence.case(Case::Title)); // Trans Case In Rust
println!("{}", sentence.case(Case::Camel)); // transCaseInRustAuto Trait Implementations§
impl Freeze for TransCase
impl RefUnwindSafe for TransCase
impl Send for TransCase
impl Sync for TransCase
impl Unpin for TransCase
impl UnwindSafe for TransCase
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