pub struct ResumeClassifierState<'a, I: QuoteClassifiedIterator<'a>> {
pub iter: I,
pub block: Option<ResumeClassifierBlockState<'a>>,
pub are_commas_on: bool,
pub are_colons_on: bool,
}
Expand description
State allowing resumption of a classifier from a particular place
in the input along with the stopped QuoteClassifiedIterator
.
Fields§
§iter: I
The stopped iterator.
block: Option<ResumeClassifierBlockState<'a>>
The block at which classification was stopped.
are_commas_on: bool
Was comma classification turned on when the classification was stopped.
are_colons_on: bool
Was colon classification turned on when the classification was stopped.
Implementations§
source§impl<'a, I: QuoteClassifiedIterator<'a>> ResumeClassifierState<'a, I>
impl<'a, I: QuoteClassifiedIterator<'a>> ResumeClassifierState<'a, I>
Auto Trait Implementations§
impl<'a, I> RefUnwindSafe for ResumeClassifierState<'a, I>where I: RefUnwindSafe,
impl<'a, I> Send for ResumeClassifierState<'a, I>where I: Send,
impl<'a, I> Sync for ResumeClassifierState<'a, I>where I: Sync,
impl<'a, I> Unpin for ResumeClassifierState<'a, I>where I: Unpin,
impl<'a, I> UnwindSafe for ResumeClassifierState<'a, I>where I: UnwindSafe,
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