Struct rustc_builtin_macros::proc_macro_harness::CollectProcMacros [−][src]
struct CollectProcMacros<'a> {
sess: &'a Session,
macros: Vec<ProcMacro>,
in_root: bool,
handler: &'a Handler,
source_map: &'a SourceMap,
is_proc_macro_crate: bool,
is_test_crate: bool,
}Fields
sess: &'a Sessionmacros: Vec<ProcMacro>in_root: boolhandler: &'a Handlersource_map: &'a SourceMapis_proc_macro_crate: boolis_test_crate: boolImplementations
Trait Implementations
fn visit_enum_def(
&mut self,
enum_definition: &EnumDef,
generics: &Generics,
item_id: NodeId,
Span
)
Auto Trait Implementations
impl<'a> !RefUnwindSafe for CollectProcMacros
impl<'a> !Send for CollectProcMacros
impl<'a> !Sync for CollectProcMacros
impl<'a> Unpin for CollectProcMacros
impl<'a> !UnwindSafe for CollectProcMacros
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 56 bytes
