Struct syn::ItemForeignMod
source · pub struct ItemForeignMod {
pub attrs: Vec<Attribute>,
pub unsafety: Option<Unsafe>,
pub abi: Abi,
pub brace_token: Brace,
pub items: Vec<ForeignItem>,
}
Expand description
A block of foreign items: extern "C" { ... }
.
Fields§
§attrs: Vec<Attribute>
§unsafety: Option<Unsafe>
§abi: Abi
§brace_token: Brace
§items: Vec<ForeignItem>
Trait Implementations§
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.