Enum rustc_parse::parser::RecoverColon [−][src]
pub enum RecoverColon {
Yes,
No,
}
Expand description
Whether or not to recover a :
when parsing patterns that were meant to be paths.
Variants
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RecoverColon
impl Send for RecoverColon
impl Sync for RecoverColon
impl Unpin for RecoverColon
impl UnwindSafe for RecoverColon
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:
Yes
: 0 bytesNo
: 0 bytes