Struct syn::ItemForeignMod
source · pub struct ItemForeignMod {
pub attrs: Vec<Attribute>,
pub abi: Abi,
pub brace_token: Brace,
pub items: Vec<ForeignItem>,
}
Expand description
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§
source§impl Clone for ItemForeignMod
impl Clone for ItemForeignMod
source§impl Debug for ItemForeignMod
impl Debug for ItemForeignMod
source§impl From<ItemForeignMod> for Item
impl From<ItemForeignMod> for Item
source§fn from(e: ItemForeignMod) -> Item
fn from(e: ItemForeignMod) -> Item
Converts to this type from the input type.