Struct syntex_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,
}

Fields

crate_name
features
recursion_limit
trace_mac

Methods

impl<'feat> ExpansionConfig<'feat>

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