pub enum ExprCaseCompareStrategy {
UseOption,
MatchCase,
IgnoreCase,
}Variants§
Trait Implementations§
source§impl Clone for ExprCaseCompareStrategy
impl Clone for ExprCaseCompareStrategy
source§fn clone(&self) -> ExprCaseCompareStrategy
fn clone(&self) -> ExprCaseCompareStrategy
Returns a copy 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 ExprCaseCompareStrategy
impl Debug for ExprCaseCompareStrategy
source§impl<'de> Deserialize<'de> for ExprCaseCompareStrategy
impl<'de> Deserialize<'de> for ExprCaseCompareStrategy
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 Hash for ExprCaseCompareStrategy
impl Hash for ExprCaseCompareStrategy
source§impl PartialEq for ExprCaseCompareStrategy
impl PartialEq for ExprCaseCompareStrategy
source§fn eq(&self, other: &ExprCaseCompareStrategy) -> bool
fn eq(&self, other: &ExprCaseCompareStrategy) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for ExprCaseCompareStrategy
impl PartialOrd for ExprCaseCompareStrategy
source§fn partial_cmp(&self, other: &ExprCaseCompareStrategy) -> Option<Ordering>
fn partial_cmp(&self, other: &ExprCaseCompareStrategy) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for ExprCaseCompareStrategy
impl Eq for ExprCaseCompareStrategy
impl StructuralPartialEq for ExprCaseCompareStrategy
Auto Trait Implementations§
impl Freeze for ExprCaseCompareStrategy
impl RefUnwindSafe for ExprCaseCompareStrategy
impl Send for ExprCaseCompareStrategy
impl Sync for ExprCaseCompareStrategy
impl Unpin for ExprCaseCompareStrategy
impl UnwindSafe for ExprCaseCompareStrategy
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> IntoResult<T> for T
impl<T> IntoResult<T> for T
§type Error = Infallible
type Error = Infallible
The error type in the returned
Result.source§fn into_result(self) -> Result<T, <T as IntoResult<T>>::Error>
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Error>
Converts the value into a
Result.