Enum syntax::ast::ForeignItem_[src]
pub enum ForeignItem_ {
ForeignItemFn(P<FnDecl>, Generics),
ForeignItemStatic(P<Ty>, bool),
}Variants
ForeignItemFn | |
ForeignItemStatic |
pub enum ForeignItem_ {
ForeignItemFn(P<FnDecl>, Generics),
ForeignItemStatic(P<Ty>, bool),
}ForeignItemFn | |
ForeignItemStatic |
impl<__S: Writer> Hash<__S> for ForeignItem_fn hash(&self, __arg_0: &mut __S)impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for ForeignItem_fn decode(__arg_0: &mut __D) -> Result<ForeignItem_, __E>impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for ForeignItem_impl Eq for ForeignItem_fn assert_receiver_is_total_eq(&self)impl PartialEq for ForeignItem_fn 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).