Enum mungos::options::CollationMaxVariable
source · [−]#[non_exhaustive]
pub enum CollationMaxVariable {
Punct,
Space,
}
Expand description
Field that determines up to which characters are considered ignorable when alternate: “shifted”.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Punct
Both whitespace and punctuation are “ignorable”, i.e. not considered base characters.
Space
Whitespace are “ignorable”, i.e. not considered base characters
Implementations
sourceimpl CollationMaxVariable
impl CollationMaxVariable
sourcepub fn as_str(&self) -> &'static str
pub fn as_str(&self) -> &'static str
Returns this CollationMaxVariable
as a &'static str
.
Trait Implementations
sourceimpl Clone for CollationMaxVariable
impl Clone for CollationMaxVariable
sourcefn clone(&self) -> CollationMaxVariable
fn clone(&self) -> CollationMaxVariable
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CollationMaxVariable
impl Debug for CollationMaxVariable
sourceimpl<'de> Deserialize<'de> for CollationMaxVariable
impl<'de> Deserialize<'de> for CollationMaxVariable
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<CollationMaxVariable, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<CollationMaxVariable, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for CollationMaxVariable
impl Display for CollationMaxVariable
sourceimpl FromStr for CollationMaxVariable
impl FromStr for CollationMaxVariable
sourceimpl Serialize for CollationMaxVariable
impl Serialize for CollationMaxVariable
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for CollationMaxVariable
Auto Trait Implementations
impl RefUnwindSafe for CollationMaxVariable
impl Send for CollationMaxVariable
impl Sync for CollationMaxVariable
impl Unpin for CollationMaxVariable
impl UnwindSafe for CollationMaxVariable
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