Struct syntax::ast::ForeignMod[][src]

pub struct ForeignMod {
    pub abi: Abi,
    pub items: Vec<ForeignItem>,
}

Foreign module declaration.

E.g. extern { .. } or extern C { .. }

Fields

Trait Implementations

impl Clone for ForeignMod
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for ForeignMod
[src]

impl Decodable for ForeignMod
[src]

impl Debug for ForeignMod
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for ForeignMod

impl !Sync for ForeignMod