Struct syn::ItemForeignMod [−][src]
pub struct ItemForeignMod { pub attrs: Vec<Attribute>, pub abi: Abi, pub brace_token: Brace, pub items: Vec<ForeignItem>, }
A block of foreign items: extern "C" { ... }
.
This type is available only if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
abi: Abi
brace_token: Brace
items: Vec<ForeignItem>
Trait Implementations
impl Clone for ItemForeignMod
[src]
impl Clone for ItemForeignMod
[src]fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl From<ItemForeignMod> for Item
[src]
impl From<ItemForeignMod> for Item
[src]fn from(e: ItemForeignMod) -> Item
[src]
impl Hash for ItemForeignMod
[src]
impl Hash for ItemForeignMod
[src]impl Parse for ItemForeignMod
[src]
impl Parse for ItemForeignMod
[src]fn parse(input: ParseStream<'_>) -> Result<Self>
[src]
impl PartialEq<ItemForeignMod> for ItemForeignMod
[src]
impl PartialEq<ItemForeignMod> for ItemForeignMod
[src]impl ToTokens for ItemForeignMod
[src]
impl ToTokens for ItemForeignMod
[src]