Struct syntax::feature_gate::FeaturesUnstable [-]  [+] [src]

pub struct Features {
    pub unboxed_closures: bool,
    pub rustc_diagnostic_macros: bool,
    pub import_shadowing: bool,
    pub visible_private_types: bool,
    pub quote: bool,
    pub old_orphan_check: bool,
}

A set of features to be used by later passes.

Fields

unboxed_closures
rustc_diagnostic_macros
import_shadowing
visible_private_types
quote
old_orphan_check

Methods

impl Features

fn new() -> Features

Trait Implementations

Derived Implementations

impl Copy for Features