Struct syn::MetaNameValue [−][src]
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
impl Clone for MetaNameValue
[src]
impl Clone for MetaNameValue
[src]fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl From<MetaNameValue> for Meta
[src]
impl From<MetaNameValue> for Meta
[src]fn from(e: MetaNameValue) -> Meta
[src]
impl Hash for MetaNameValue
[src]
impl Hash for MetaNameValue
[src]impl Parse for MetaNameValue
[src]
impl Parse for MetaNameValue
[src]fn parse(input: ParseStream<'_>) -> Result<Self>
[src]
impl PartialEq<MetaNameValue> for MetaNameValue
[src]
impl PartialEq<MetaNameValue> for MetaNameValue
[src]impl ToTokens for MetaNameValue
[src]
impl ToTokens for MetaNameValue
[src]