Struct IsWhitespace

pub(in ::str) struct IsWhitespace;

Trait Implementations

impl Clone for IsWhitespace

fn clone(&self) -> IsWhitespace

impl Fn(char) for IsWhitespace

extern ""rust-call"" fn call(&self, (c): (char,)) -> bool

impl FnMut(char) for IsWhitespace

extern ""rust-call"" fn call_mut(&mut self, (c): (char,)) -> bool

impl FnOnce(char) for IsWhitespace

type Output = bool;
extern ""rust-call"" fn call_once(self, (c): (char,)) -> bool

Auto Trait Implementations

impl Freeze for IsWhitespace

impl RefUnwindSafe for IsWhitespace

impl Send for IsWhitespace

impl Sync for IsWhitespace

impl Unpin for IsWhitespace

impl UnsafeUnpin for IsWhitespace

impl UnwindSafe for IsWhitespace

Blanket Implementations

impl<F> Pattern for IsWhitespace where F: FnMut(char) -> bool,

type Searcher<'a> = CharPredicateSearcher<'a, F>;
fn into_searcher<'a>(self, haystack: &'a str) -> CharPredicateSearcher<'a, F>
fn is_contained_in<'a>(self, haystack: &'a str) -> bool
fn is_prefix_of<'a>(self, haystack: &'a str) -> bool
fn strip_prefix_of<'a>(self, haystack: &'a str) -> Option<&'a str>
fn is_suffix_of<'a>(self, haystack: &'a str) -> bool
where
    CharPredicateSearcher<'a, F>: ReverseSearcher<'a>,
fn strip_suffix_of<'a>(self, haystack: &'a str) -> Option<&'a str>
where
    CharPredicateSearcher<'a, F>: ReverseSearcher<'a>,

impl<T> Any for IsWhitespace where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for IsWhitespace where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for IsWhitespace where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for IsWhitespace where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for IsWhitespace

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> SizeHint for IsWhitespace where T: ?Sized,

fn lower_bound(&self) -> usize
fn upper_bound(&self) -> Option<usize>

impl<T> SizedTypeProperties for IsWhitespace

impl<T, U> Into<U> for IsWhitespace where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for IsWhitespace where U: Into<T>,

type Error = Infallible;
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto<U> for IsWhitespace where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>