Enum rustc_parse::parser::Capturing [−][src]
pub enum Capturing {
No,
Yes,
}
Expand description
Controls how we capture tokens. Capturing can be expensive,
so we try to avoid performing capturing in cases where
we will never need an AttrAnnotatedTokenStream
Variants
We aren’t performing any capturing - this is the default mode.
We are capturing tokens
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Capturing
impl UnwindSafe for Capturing
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
No
: 0 bytesYes
: 0 bytes