pub struct Ascii { /* private fields */ }Expand description
Checks if the string is valid ASCII.
Trait Implementations§
Source§impl<T: AsRef<str> + ?Sized> Predicate<T> for Ascii
impl<T: AsRef<str> + ?Sized> Predicate<T> for Ascii
Auto Trait Implementations§
impl Freeze for Ascii
impl RefUnwindSafe for Ascii
impl Send for Ascii
impl Sync for Ascii
impl Unpin for Ascii
impl UnsafeUnpin for Ascii
impl UnwindSafe for Ascii
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.