pub struct TestUnquotedValidator {
pub count: usize,
pub last_was_dot: bool,
}
Fields§
§count: usize
§last_was_dot: bool
Implementations§
Trait Implementations§
Source§impl Default for TestUnquotedValidator
impl Default for TestUnquotedValidator
Source§impl WithoutQuotingValidator for TestUnquotedValidator
impl WithoutQuotingValidator for TestUnquotedValidator
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
callAuto Trait Implementations§
impl Freeze for TestUnquotedValidator
impl RefUnwindSafe for TestUnquotedValidator
impl Send for TestUnquotedValidator
impl Sync for TestUnquotedValidator
impl Unpin for TestUnquotedValidator
impl UnwindSafe for TestUnquotedValidator
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