Struct syntax::ext::expand::ExpansionConfig [] [src]

pub struct ExpansionConfig<'feat> {
    pub crate_name: String,
    pub features: Option<&'feat Features>,
    pub recursion_limit: usize,
    pub trace_mac: bool,
}
Unstable (rustc_private)

Fields

crate_name: String
Unstable (rustc_private)
features: Option<&'feat Features>
Unstable (rustc_private)
recursion_limit: usize
Unstable (rustc_private)
trace_mac: bool
Unstable (rustc_private)

Methods

impl<'feat> ExpansionConfig<'feat>
[src]

fn default(crate_name: String) -> ExpansionConfig<'static>

fn enable_quotes(&self) -> bool

fn enable_asm(&self) -> bool

fn enable_log_syntax(&self) -> bool

fn enable_concat_idents(&self) -> bool

fn enable_trace_macros(&self) -> bool

fn enable_allow_internal_unstable(&self) -> bool

fn enable_custom_derive(&self) -> bool

fn enable_pushpop_unsafe(&self) -> bool