Struct CaseConversion
pub struct CaseConversion { /* private fields */ }Expand description
A reusable case-conversion descriptor.
Implementations§
§impl CaseConversion
impl CaseConversion
pub const fn new(source: TextCase, target: TextCase) -> CaseConversion
pub const fn new(source: TextCase, target: TextCase) -> CaseConversion
Creates a new conversion descriptor.
Trait Implementations§
§impl Clone for CaseConversion
impl Clone for CaseConversion
§fn clone(&self) -> CaseConversion
fn clone(&self) -> CaseConversion
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for CaseConversion
impl Debug for CaseConversion
§impl PartialEq for CaseConversion
impl PartialEq for CaseConversion
impl Copy for CaseConversion
impl Eq for CaseConversion
impl StructuralPartialEq for CaseConversion
Auto Trait Implementations§
impl Freeze for CaseConversion
impl RefUnwindSafe for CaseConversion
impl Send for CaseConversion
impl Sync for CaseConversion
impl Unpin for CaseConversion
impl UnsafeUnpin for CaseConversion
impl UnwindSafe for CaseConversion
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