pub struct AnyCharacter;
Expand description
Contains all Unicode characters
Trait Implementations§
Source§impl CharacterSet for AnyCharacter
impl CharacterSet for AnyCharacter
Source§fn contains(&self, _: char) -> bool
fn contains(&self, _: char) -> bool
Returns
true
if the character set contains the given character. Read moreSource§fn union<Other: CharacterSet>(
self,
other: Other,
) -> CharacterSetUnion<Self, Other>where
Self: Sized,
fn union<Other: CharacterSet>(
self,
other: Other,
) -> CharacterSetUnion<Self, Other>where
Self: Sized,
Returns a
CharacterSet
that contains the characters in the self
set, as well as any characters in the given other
character set. Read moreSource§fn intersection<Other: CharacterSet>(
self,
other: Other,
) -> CharacterSetIntersection<Self, Other>where
Self: Sized,
fn intersection<Other: CharacterSet>(
self,
other: Other,
) -> CharacterSetIntersection<Self, Other>where
Self: Sized,
Source§fn difference<Other: CharacterSet>(
self,
other: Other,
) -> CharacterSetDifference<Self, Other>where
Self: Sized,
fn difference<Other: CharacterSet>(
self,
other: Other,
) -> CharacterSetDifference<Self, Other>where
Self: Sized,
Returns a
CharacterSet
that contains the characters in the self
character set, unless they are also contained in other
. Read moreSource§fn complement(self) -> CharacterSetComplement<Self>where
Self: Sized,
fn complement(self) -> CharacterSetComplement<Self>where
Self: Sized,
Returns a
CharacterSet
that contains all of the characters that are
NOT contained in the self
character set. Read moreSource§impl Clone for AnyCharacter
impl Clone for AnyCharacter
Source§fn clone(&self) -> AnyCharacter
fn clone(&self) -> AnyCharacter
Returns a duplicate 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 AnyCharacter
impl Debug for AnyCharacter
impl Copy for AnyCharacter
Auto Trait Implementations§
impl Freeze for AnyCharacter
impl RefUnwindSafe for AnyCharacter
impl Send for AnyCharacter
impl Sync for AnyCharacter
impl Unpin for AnyCharacter
impl UnwindSafe for AnyCharacter
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