Struct syntax::ast::ForeignItem [−] [src]

pub struct ForeignItem {
    pub ident: Ident,
    pub attrs: Vec<Attribute>,
    pub node: ForeignItem_,
    pub id: NodeId,
    pub span: Span,
    pub vis: Visibility,
}
Unstable

Fields

ident
Unstable
attrs
Unstable
node
Unstable
id
Unstable
span
Unstable
vis
Unstable

Trait Implementations

Derived Implementations

impl Debug for ForeignItem

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

impl Hash for ForeignItem

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

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

impl Decodable for ForeignItem

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

impl Encodable for ForeignItem

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

impl Eq for ForeignItem

impl PartialEq for ForeignItem

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

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

impl Clone for ForeignItem

fn clone(&self) -> ForeignItem

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