pub struct CharDigit<const B: Base = DECIMAL> { /* private fields */ }Expand description
Checks whether the given character is a digit in the specified base B.
The default base is DECIMAL.
Implementations§
Trait Implementations§
Source§impl<const B: Base> Predicate<char> for CharDigit<B>
impl<const B: Base> Predicate<char> for CharDigit<B>
Auto Trait Implementations§
impl<const B: u32> Freeze for CharDigit<B>
impl<const B: u32> RefUnwindSafe for CharDigit<B>
impl<const B: u32> Send for CharDigit<B>
impl<const B: u32> Sync for CharDigit<B>
impl<const B: u32> Unpin for CharDigit<B>
impl<const B: u32> UnsafeUnpin for CharDigit<B>
impl<const B: u32> UnwindSafe for CharDigit<B>
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
Source§impl<T, P> PredicateExpected<T> for P
impl<T, P> PredicateExpected<T> for P
Source§fn expected() -> Expected<T, Self>
fn expected() -> Expected<T, Self>
Returns the
Expected<T, Self> value used for formatting.