Enum rustc_parse::parser::Capturing[−][src]

pub enum Capturing {
    No,
    Yes,
}

Controls how we capture tokens. Capturing can be expensive, so we try to avoid performing capturing in cases where we will never need a AttrAnnotatedTokenStream

Variants

No

We aren’t performing any capturing - this is the default mode.

Yes

We are capturing tokens

Trait Implementations

impl Clone for Capturing[src]

impl Copy for Capturing[src]

Auto Trait Implementations

impl RefUnwindSafe for Capturing

impl Send for Capturing

impl Sync for Capturing

impl Unpin for Capturing

impl UnwindSafe for Capturing

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone, 
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.