pub enum ValidatorCaseOption {
Any,
Upper,
Lower,
}Expand description
A special kind of options for validators related to the case of characters.
Variants
Any
Upper
Lower
Implementations
sourceimpl ValidatorCaseOption
impl ValidatorCaseOption
pub unsafe fn from_ordinal_unsafe(number: i8) -> ValidatorCaseOption
pub fn from_ordinal(number: i8) -> Option<ValidatorCaseOption>
pub fn ordinal(&self) -> i8
pub const fn variants() -> [ValidatorCaseOption; 3]
pub const fn variant_count() -> usize
Trait Implementations
sourceimpl Clone for ValidatorCaseOption
impl Clone for ValidatorCaseOption
sourcefn clone(&self) -> ValidatorCaseOption
fn clone(&self) -> ValidatorCaseOption
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 more
sourceimpl Debug for ValidatorCaseOption
impl Debug for ValidatorCaseOption
sourceimpl Default for ValidatorCaseOption
impl Default for ValidatorCaseOption
impl Copy for ValidatorCaseOption
impl Eq for ValidatorCaseOption
impl StructuralEq for ValidatorCaseOption
impl StructuralPartialEq for ValidatorCaseOption
Auto Trait Implementations
impl RefUnwindSafe for ValidatorCaseOption
impl Send for ValidatorCaseOption
impl Sync for ValidatorCaseOption
impl Unpin for ValidatorCaseOption
impl UnwindSafe for ValidatorCaseOption
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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