[−][src]Struct syntax::ext::expand::ExpansionConfig
Fields
crate_name: String
features: Option<&'feat Features>
recursion_limit: usize
trace_mac: bool
should_test: bool
single_step: bool
keep_macs: bool
Methods
impl<'feat> ExpansionConfig<'feat>
[src]
pub fn default(crate_name: String) -> ExpansionConfig<'static>
[src]
pub fn enable_asm(&self) -> bool
[src]
pub fn enable_custom_test_frameworks(&self) -> bool
[src]
pub fn enable_global_asm(&self) -> bool
[src]
pub fn enable_log_syntax(&self) -> bool
[src]
pub fn enable_concat_idents(&self) -> bool
[src]
pub fn enable_trace_macros(&self) -> bool
[src]
pub fn enable_allow_internal_unstable(&self) -> bool
[src]
pub fn enable_format_args_nl(&self) -> bool
[src]
pub fn macros_in_extern_enabled(&self) -> bool
[src]
pub fn proc_macro_hygiene(&self) -> bool
[src]
Auto Trait Implementations
impl<'feat> !Send for ExpansionConfig<'feat>
impl<'feat> !Sync for ExpansionConfig<'feat>
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<E> SpecializationError for E
[src]
impl<T> Send for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Sync for T where
T: ?Sized,
[src]
T: ?Sized,