Enum syn::NestedMeta [−][src]
Element of a compile-time attribute list.
This type is available if Syn is built with the "derive"
or "full"
feature.
Variants
Meta(Meta)
A structured meta item, like the Copy
in #[derive(Copy)]
which
would be a nested Meta::Word
.
Literal(Lit)
A Rust literal, like the "new_name"
in #[rename("new_name")]
.
Trait Implementations
impl Clone for NestedMeta
[src]
[+]
impl Clone for NestedMeta
impl From<Meta> for NestedMeta
[src]
[+]
impl From<Meta> for NestedMeta
impl From<Lit> for NestedMeta
[src]
[+]
impl From<Lit> for NestedMeta
impl ToTokens for NestedMeta
[src]
[+]
impl ToTokens for NestedMeta
Auto Trait Implementations
impl !Send for NestedMeta
impl !Send for NestedMeta
impl !Sync for NestedMeta
impl !Sync for NestedMeta