Struct rustc_expand::proc_macro::ProcMacroDerive [−][src]
pub struct ProcMacroDerive {
pub client: Client<fn(_: TokenStream) -> TokenStream>,
}
Fields
client: Client<fn(_: TokenStream) -> TokenStream>
Trait Implementations
fn expand(
&self,
ecx: &mut ExtCtxt<'_>,
span: Span,
_meta_item: &MetaItem,
item: Annotatable
) -> ExpandResult<Vec<Annotatable>, Annotatable>
Auto Trait Implementations
impl RefUnwindSafe for ProcMacroDerive
impl Send for ProcMacroDerive
impl Sync for ProcMacroDerive
impl Unpin for ProcMacroDerive
impl UnwindSafe for ProcMacroDerive
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: 24 bytes