Used to track additional state needed by
Holds the current tokens captured during the most
recent call to
The depth of the
TokenCursor stack at the time
collection was started. When we encounter a
we want to record the
but not any of the inner tokens while we are inside
the new frame (this would cause us to record duplicate tokens).
depth fields tracks stack depth we are recording tokens.
Only tokens encountered at this depth will be recorded. See
TokenCursor::next for more details.
impl Clone for Collecting[src]
impl Debug for Collecting[src]
Auto Trait Implementations
impl !RefUnwindSafe for Collecting
impl !Send for Collecting
impl !Sync for Collecting
impl Unpin for Collecting
impl !UnwindSafe for Collecting
impl<T> MaybeResult<T> for T[src]
fn from(Result<T, <T as MaybeResult<T>>::Error>) -> T[src]
fn to_result(self) -> Result<T, <T as MaybeResult<T>>::Error>[src]
type Output = T
Should always be
impl<E> SpecializationError for E[src]
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)[src]
type Error = Infallible
The type returned in the event of a conversion error.