pub enum Case {
None,
Lower,
Upper,
}
Expand description
The case to convert to. The effect of this is dependent on EncodeTo
; the
conversion will happen AFTER the encoding in the case of
EncodeTo::ASCII
, EncodeTo::OLD_ASCII
, and EncodeTo::None
and
before otherwise.
Variants
Implementations
Trait Implementations
sourceimpl ConvertSlice<u8> for Case
impl ConvertSlice<u8> for Case
sourcefn convert_slice(&self, slice: &mut [u8])
fn convert_slice(&self, slice: &mut [u8])
modify a slice of
T
in-place.impl Copy for Case
impl Eq for Case
impl StructuralEq for Case
impl StructuralPartialEq for Case
Auto Trait Implementations
impl RefUnwindSafe for Case
impl Send for Case
impl Sync for Case
impl Unpin for Case
impl UnwindSafe for Case
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more