[−][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, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<E> SpecializationError for E
[src]
default fn not_found<S, T>(
trait_name: &'static str,
method_name: &'static str
) -> E where
T: ?Sized,
[src]
trait_name: &'static str,
method_name: &'static str
) -> E where
T: ?Sized,
impl<T> Send for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Sync for T where
T: ?Sized,
[src]
T: ?Sized,