pub struct Alphabetic;Expand description
Checks whether the given character is alphabetic.
Trait Implementations§
Source§impl Clone for Alphabetic
impl Clone for Alphabetic
Source§fn clone(&self) -> Alphabetic
fn clone(&self) -> Alphabetic
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 Alphabetic
impl Debug for Alphabetic
Source§impl Default for Alphabetic
impl Default for Alphabetic
Source§fn default() -> Alphabetic
fn default() -> Alphabetic
Returns the “default value” for a type. Read more
Source§impl Hash for Alphabetic
impl Hash for Alphabetic
Source§impl Ord for Alphabetic
impl Ord for Alphabetic
Source§fn cmp(&self, other: &Alphabetic) -> Ordering
fn cmp(&self, other: &Alphabetic) -> 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 Alphabetic
impl PartialEq for Alphabetic
Source§impl PartialOrd for Alphabetic
impl PartialOrd for Alphabetic
Source§impl Predicate<char> for Alphabetic
impl Predicate<char> for Alphabetic
Source§type Error = AlphabeticError
type Error = AlphabeticError
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 Alphabetic
impl Eq for Alphabetic
impl StructuralPartialEq for Alphabetic
Auto Trait Implementations§
impl Freeze for Alphabetic
impl RefUnwindSafe for Alphabetic
impl Send for Alphabetic
impl Sync for Alphabetic
impl Unpin for Alphabetic
impl UnwindSafe for Alphabetic
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