Enum rustc_ap_rustc_ast::ast::ForeignItemKind [−][src]
pub enum ForeignItemKind { Static(P<Ty>, Mutability, Option<P<Expr>>), Fn(Box<FnKind>), TyAlias(Box<TyAliasKind>), MacCall(MacCall), }
Expand description
An item in extern
block.
Variants
A foreign static item (static FOO: u8
).
An foreign function.
TyAlias(Box<TyAliasKind>)
An foreign type.
MacCall(MacCall)
A macro expanding to foreign items.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for ForeignItemKind
impl !Send for ForeignItemKind
impl !Sync for ForeignItemKind
impl Unpin for ForeignItemKind
impl !UnwindSafe for ForeignItemKind
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V