pub struct Lowercase;Expand description
Checks whether the given character is ASCII lowercase.
Trait Implementations§
Source§impl Ord for Lowercase
impl Ord for Lowercase
Source§impl PartialOrd for Lowercase
impl PartialOrd for Lowercase
Source§impl Predicate<char> for Lowercase
impl Predicate<char> for Lowercase
Source§type Error = LowercaseError
type Error = LowercaseError
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 Lowercase
impl Eq for Lowercase
impl StructuralPartialEq for Lowercase
Auto Trait Implementations§
impl Freeze for Lowercase
impl RefUnwindSafe for Lowercase
impl Send for Lowercase
impl Sync for Lowercase
impl Unpin for Lowercase
impl UnwindSafe for Lowercase
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