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