Struct syn::MetaNameValue
source · [−]Expand description
A name-value pair within an attribute, like feature = "nightly"
.
This type is available only if Syn is built with the "derive"
or
"full"
feature.
Fields
path: Path
eq_token: Eq
lit: Lit
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for MetaNameValue
impl !Send for MetaNameValue
impl !Sync for MetaNameValue
impl Unpin for MetaNameValue
impl UnwindSafe for MetaNameValue
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