Enum syn::NestedMeta [−][src]
Expand description
Element of a compile-time attribute list.
This type is available only if Syn is built with the "derive"
or "full"
feature.
Variants
Meta(Meta)
Tuple Fields
0: Meta
A structured meta item, like the Copy
in #[derive(Copy)]
which
would be a nested Meta::Path
.
Lit(Lit)
Tuple Fields
0: Lit
A Rust literal, like the "new_name"
in #[rename("new_name")]
.
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for NestedMeta
impl !Send for NestedMeta
impl !Sync for NestedMeta
impl Unpin for NestedMeta
impl UnwindSafe for NestedMeta
Blanket Implementations
Mutably borrows from an owned value. Read more