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,
}Fields
ident | |
attrs | |
node | |
id | |
span | |
vis |
pub struct ForeignItem {
pub ident: Ident,
pub attrs: Vec<Attribute>,
pub node: ForeignItem_,
pub id: NodeId,
pub span: Span,
pub vis: Visibility,
}ident | |
attrs | |
node | |
id | |
span | |
vis |
impl<__S: Writer> Hash<__S> for ForeignItemfn hash(&self, __arg_0: &mut __S)impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for ForeignItemfn decode(__arg_0: &mut __D) -> Result<ForeignItem, __E>impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for ForeignItemimpl Eq for ForeignItemfn assert_receiver_is_total_eq(&self)impl PartialEq for ForeignItemfn eq(&self, __arg_0: &ForeignItem) -> boolfn ne(&self, __arg_0: &ForeignItem) -> bool
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).