pub struct IsWhitespace;Expand description
Checks whether the given character is whitespace.
Trait Implementations§
Source§impl Clone for IsWhitespace
impl Clone for IsWhitespace
Source§fn clone(&self) -> IsWhitespace
fn clone(&self) -> IsWhitespace
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IsWhitespace
impl Debug for IsWhitespace
Source§impl Default for IsWhitespace
impl Default for IsWhitespace
Source§fn default() -> IsWhitespace
fn default() -> IsWhitespace
Returns the “default value” for a type. Read more
Source§impl Hash for IsWhitespace
impl Hash for IsWhitespace
Source§impl Ord for IsWhitespace
impl Ord for IsWhitespace
Source§fn cmp(&self, other: &IsWhitespace) -> Ordering
fn cmp(&self, other: &IsWhitespace) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for IsWhitespace
impl PartialEq for IsWhitespace
Source§impl PartialOrd for IsWhitespace
impl PartialOrd for IsWhitespace
Source§impl Predicate<char> for IsWhitespace
impl Predicate<char> for IsWhitespace
Source§type Error = NonWhitespaceError
type Error = NonWhitespaceError
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 IsWhitespace
impl Eq for IsWhitespace
impl StructuralPartialEq for IsWhitespace
Auto Trait Implementations§
impl Freeze for IsWhitespace
impl RefUnwindSafe for IsWhitespace
impl Send for IsWhitespace
impl Sync for IsWhitespace
impl Unpin for IsWhitespace
impl UnwindSafe for IsWhitespace
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