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

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

Fields

Trait Implementations

impl Clone for ForeignItem
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for ForeignItem
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for ForeignItem
[src]

impl Encodable for ForeignItem
[src]

[src]

impl Decodable for ForeignItem
[src]

[src]

impl Hash for ForeignItem
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for ForeignItem
[src]

[src]

Formats the value using the given formatter. Read more

impl HasAttrs for ForeignItem
[src]

Important traits for &'a mut [u8]
[src]

[src]

Auto Trait Implementations

impl !Send for ForeignItem

impl !Sync for ForeignItem