pub struct Alphanumeric;Expand description
Checks whether the given character is ASCII alphanumeric.
Trait Implementations§
Source§impl Clone for Alphanumeric
impl Clone for Alphanumeric
Source§fn clone(&self) -> Alphanumeric
fn clone(&self) -> Alphanumeric
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 Alphanumeric
impl Debug for Alphanumeric
Source§impl Default for Alphanumeric
impl Default for Alphanumeric
Source§fn default() -> Alphanumeric
fn default() -> Alphanumeric
Returns the “default value” for a type. Read more
Source§impl Hash for Alphanumeric
impl Hash for Alphanumeric
Source§impl Ord for Alphanumeric
impl Ord for Alphanumeric
Source§fn cmp(&self, other: &Alphanumeric) -> Ordering
fn cmp(&self, other: &Alphanumeric) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Alphanumeric
impl PartialEq for Alphanumeric
Source§impl PartialOrd for Alphanumeric
impl PartialOrd for Alphanumeric
Source§impl Predicate<char> for Alphanumeric
impl Predicate<char> for Alphanumeric
Source§type Error = AlphanumericError
type Error = AlphanumericError
The associated error type which is used to represent checks.
Source§fn check(value: &char) -> Result<(), Self::Error>
fn check(value: &char) -> Result<(), Self::Error>
Checks if the value of type
T satisfies the predicate. Read moreSource§fn expect(formatter: &mut Formatter<'_>) -> Result
fn expect(formatter: &mut Formatter<'_>) -> Result
Formats the expectation of the predicate. Read more
Source§fn expect_code(formatter: &mut Formatter<'_>) -> Result
fn expect_code(formatter: &mut Formatter<'_>) -> Result
Formats the expectation code of the predicate. Read more
Source§fn is_satisfied(value: &T) -> bool
fn is_satisfied(value: &T) -> bool
Checks whether the given value satisfies the predicate. Read more
Source§fn expected_code() -> ExpectedCode<T, Self>
fn expected_code() -> ExpectedCode<T, Self>
Returns the expectation code of the predicate.
impl Copy for Alphanumeric
impl Eq for Alphanumeric
impl StructuralPartialEq for Alphanumeric
Auto Trait Implementations§
impl Freeze for Alphanumeric
impl RefUnwindSafe for Alphanumeric
impl Send for Alphanumeric
impl Sync for Alphanumeric
impl Unpin for Alphanumeric
impl UnwindSafe for Alphanumeric
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