pub enum CasingRule {
CASE_SENSITIVE,
CASE_INSENSITIVE,
UNICODE_SPECIAL,
}Expand description
Directives for typographic casing mechanics.
Variants§
CASE_SENSITIVE
Strict case sensitivity.
CASE_INSENSITIVE
Case-insensitive matching.
UNICODE_SPECIAL
Special Unicode casing rules (e.g., Turkish dotless i).
Trait Implementations§
Source§impl Clone for CasingRule
impl Clone for CasingRule
Source§fn clone(&self) -> CasingRule
fn clone(&self) -> CasingRule
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CasingRule
impl Debug for CasingRule
Source§impl<'de> Deserialize<'de> for CasingRule
impl<'de> Deserialize<'de> for CasingRule
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CasingRule
impl PartialEq for CasingRule
Source§fn eq(&self, other: &CasingRule) -> bool
fn eq(&self, other: &CasingRule) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CasingRule
impl Serialize for CasingRule
impl Copy for CasingRule
impl Eq for CasingRule
impl StructuralPartialEq for CasingRule
Auto Trait Implementations§
impl Freeze for CasingRule
impl RefUnwindSafe for CasingRule
impl Send for CasingRule
impl Sync for CasingRule
impl Unpin for CasingRule
impl UnsafeUnpin for CasingRule
impl UnwindSafe for CasingRule
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.