pub enum CaseSensitivity {
Sensitive,
Insensitive,
}Expand description
Controls whether path normalization is case-sensitive or case-insensitive.
This enum is the runtime-dynamic counterpart to the zero-sized marker types
CaseSensitive and CaseInsensitive. It is used as the type parameter S
in PathElement when the case sensitivity is not known
at compile time.
Variants§
Sensitive
Names differing only in case are treated as distinct.
Insensitive
Names differing only in case produce the same normalized name.
Trait Implementations§
Source§impl Clone for CaseSensitivity
impl Clone for CaseSensitivity
Source§fn clone(&self) -> CaseSensitivity
fn clone(&self) -> CaseSensitivity
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 moreSource§impl Debug for CaseSensitivity
impl Debug for CaseSensitivity
Source§impl From<&CaseInsensitive> for CaseSensitivity
impl From<&CaseInsensitive> for CaseSensitivity
Source§fn from(_: &CaseInsensitive) -> Self
fn from(_: &CaseInsensitive) -> Self
Converts to this type from the input type.
Source§impl From<&CaseSensitive> for CaseSensitivity
impl From<&CaseSensitive> for CaseSensitivity
Source§fn from(_: &CaseSensitive) -> Self
fn from(_: &CaseSensitive) -> Self
Converts to this type from the input type.
Source§impl From<&CaseSensitivity> for CaseSensitivity
impl From<&CaseSensitivity> for CaseSensitivity
Source§fn from(s: &CaseSensitivity) -> Self
fn from(s: &CaseSensitivity) -> Self
Converts to this type from the input type.
Source§impl From<CaseInsensitive> for CaseSensitivity
impl From<CaseInsensitive> for CaseSensitivity
Source§fn from(_: CaseInsensitive) -> Self
fn from(_: CaseInsensitive) -> Self
Converts to this type from the input type.
Source§impl From<CaseSensitive> for CaseSensitivity
impl From<CaseSensitive> for CaseSensitivity
Source§fn from(_: CaseSensitive) -> Self
fn from(_: CaseSensitive) -> Self
Converts to this type from the input type.
Source§impl Hash for CaseSensitivity
impl Hash for CaseSensitivity
Source§impl PartialEq for CaseSensitivity
impl PartialEq for CaseSensitivity
impl Copy for CaseSensitivity
impl Eq for CaseSensitivity
impl StructuralPartialEq for CaseSensitivity
Auto Trait Implementations§
impl Freeze for CaseSensitivity
impl RefUnwindSafe for CaseSensitivity
impl Send for CaseSensitivity
impl Sync for CaseSensitivity
impl Unpin for CaseSensitivity
impl UnsafeUnpin for CaseSensitivity
impl UnwindSafe for CaseSensitivity
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