Struct rustc_ast_lowering::ast::MetaItem [−][src]
pub struct MetaItem {
pub path: Path,
pub kind: MetaItemKind,
pub span: Span,
}Expand description
A spanned compile-time attribute item.
E.g., #[test], #[derive(..)], #[rustfmt::skip] or #[feature = "foo"].
Fields
path: Pathkind: MetaItemKindspan: SpanAuto Trait Implementations
impl !RefUnwindSafe for MetaItem
impl !UnwindSafe for MetaItem
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 104 bytes