Enum devise::syn::NestedMeta [−][src]
Expand description
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
.
Tuple Fields of Meta
0: Meta
Literal(Lit)
A Rust literal, like the "new_name"
in #[rename("new_name")]
.
Tuple Fields of Literal
0: Lit
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Returns a Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty. Read more