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