Struct syn::ImplItemMacro [−][src]
pub struct ImplItemMacro { pub attrs: Vec<Attribute>, pub mac: Macro, pub semi_token: Option<Semi>, }
A macro invocation within an impl block.
This type is available only if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
mac: Macro
semi_token: Option<Semi>
Trait Implementations
impl Clone for ImplItemMacro
[src]
impl Clone for ImplItemMacro
[src]fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl From<ImplItemMacro> for ImplItem
[src]
impl From<ImplItemMacro> for ImplItem
[src]fn from(e: ImplItemMacro) -> ImplItem
[src]
impl Hash for ImplItemMacro
[src]
impl Hash for ImplItemMacro
[src]impl Parse for ImplItemMacro
[src]
impl Parse for ImplItemMacro
[src]fn parse(input: ParseStream<'_>) -> Result<Self>
[src]
impl PartialEq<ImplItemMacro> for ImplItemMacro
[src]
impl PartialEq<ImplItemMacro> for ImplItemMacro
[src]impl ToTokens for ImplItemMacro
[src]
impl ToTokens for ImplItemMacro
[src]