pub struct AsciiWordValidator;
Expand description
Allows unquoted text containing only _ | a..z | A..Z | 0..9
Trait Implementations§
Source§impl Clone for AsciiWordValidator
impl Clone for AsciiWordValidator
Source§fn clone(&self) -> AsciiWordValidator
fn clone(&self) -> AsciiWordValidator
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 AsciiWordValidator
impl Debug for AsciiWordValidator
Source§impl WithoutQuotingValidator for AsciiWordValidator
impl WithoutQuotingValidator for AsciiWordValidator
Source§fn next(&mut self, pcp: PartialCodePoint) -> bool
fn next(&mut self, pcp: PartialCodePoint) -> bool
if next returns false, it’s (self) state should NOT be modified
i.e. calling .end() after next(..) and returning false corresponds
to the input sequence until next(..) was false, not including
the
pcp
from the last next
callimpl Copy for AsciiWordValidator
Auto Trait Implementations§
impl Freeze for AsciiWordValidator
impl RefUnwindSafe for AsciiWordValidator
impl Send for AsciiWordValidator
impl Sync for AsciiWordValidator
impl Unpin for AsciiWordValidator
impl UnwindSafe for AsciiWordValidator
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