pub enum NestedMeta {
Meta(Meta),
Literal(Lit),
}
Element of a compile-time attribute list.
This type is available if Syn is built with the "derive"
or "full"
feature.
A structured meta item, like the Copy
in #[derive(Copy)]
which
would be a nested Meta::Word
.
A Rust literal, like the "new_name"
in #[rename("new_name")]
.
Formats the value using the given formatter. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Feeds this value into the given [Hasher
]. Read more
Feeds a slice of this type into the given [Hasher
]. Read more
Performs copy-assignment from source
. Read more
Write self
to the given TokenStream
. Read more
Convert self
directly into a TokenStream
object. Read more