Struct syn::ForeignItemMacro [−][src]
pub struct ForeignItemMacro { pub attrs: Vec<Attribute>, pub mac: Macro, pub semi_token: Option<Semi>, }
A macro invocation within an extern 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 ForeignItemMacro
[src]
impl Clone for ForeignItemMacro
[src]fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl From<ForeignItemMacro> for ForeignItem
[src]
impl From<ForeignItemMacro> for ForeignItem
[src]fn from(e: ForeignItemMacro) -> ForeignItem
[src]
impl Hash for ForeignItemMacro
[src]
impl Hash for ForeignItemMacro
[src]impl Parse for ForeignItemMacro
[src]
impl Parse for ForeignItemMacro
[src]fn parse(input: ParseStream<'_>) -> Result<Self>
[src]
impl PartialEq<ForeignItemMacro> for ForeignItemMacro
[src]
impl PartialEq<ForeignItemMacro> for ForeignItemMacro
[src]impl ToTokens for ForeignItemMacro
[src]
impl ToTokens for ForeignItemMacro
[src]