Struct syntax::ast::ForeignModUnstable [-] [+] [src]

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

Fields

abi
items

Trait Implementations

Derived Implementations

impl Debug for ForeignMod

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Hash for ForeignMod

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Decodable for ForeignMod

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<ForeignMod, Error>

impl Encodable for ForeignMod

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), Error>

impl Eq for ForeignMod

fn assert_receiver_is_total_eq(&self)

impl PartialEq for ForeignMod

fn eq(&self, __arg_0: &ForeignMod) -> bool

fn ne(&self, __arg_0: &ForeignMod) -> bool

impl Clone for ForeignMod

fn clone(&self) -> ForeignMod

fn clone_from(&mut self, source: &Self)