Enum rustc_ap_rustc_ast::ast::MetaItemKind [−][src]
pub enum MetaItemKind { Word, List(Vec<NestedMetaItem>), NameValue(Lit), }
Expand description
A compile-time attribute item.
E.g., #[test]
, #[derive(..)]
or #[feature = "foo"]
.
Variants
Word meta item.
E.g., test
as in #[test]
.
List(Vec<NestedMetaItem>)
List meta item.
E.g., derive(..)
as in #[derive(..)]
.
NameValue(Lit)
Name value meta item.
E.g., feature = "foo"
as in #[feature = "foo"]
.
Implementations
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for MetaItemKind
impl !Send for MetaItemKind
impl !Sync for MetaItemKind
impl Unpin for MetaItemKind
impl !UnwindSafe for MetaItemKind
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