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)A structured meta item, like the Copy in #[derive(Copy)] which
would be a nested Meta::Path.
Lit(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 NestedMetaimpl !Send for NestedMetaimpl !Sync for NestedMetaimpl Unpin for NestedMetaimpl UnwindSafe for NestedMetaBlanket Implementations
Mutably borrows from an owned value. Read more