pub struct AsciiDigits;
Expand description
Contains the ASCII digits, 0-9
Trait Implementations§
Source§impl CharacterSet for AsciiDigits
impl CharacterSet for AsciiDigits
Source§fn contains(&self, ch: char) -> bool
fn contains(&self, ch: 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 AsciiDigits
impl Clone for AsciiDigits
Source§fn clone(&self) -> AsciiDigits
fn clone(&self) -> AsciiDigits
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 AsciiDigits
impl Debug for AsciiDigits
impl Copy for AsciiDigits
Auto Trait Implementations§
impl Freeze for AsciiDigits
impl RefUnwindSafe for AsciiDigits
impl Send for AsciiDigits
impl Sync for AsciiDigits
impl Unpin for AsciiDigits
impl UnwindSafe for AsciiDigits
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