Struct syn::MetaNameValue [−][src]
This is supported on crate features
full
or derive
only.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]This is supported on crate feature
clone-impls
only.fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for MetaNameValue
[src]
impl Debug for MetaNameValue
[src]This is supported on crate feature
extra-traits
only.impl Eq for MetaNameValue
[src]
impl Eq for MetaNameValue
[src]This is supported on crate feature
extra-traits
only.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]This is supported on crate feature
extra-traits
only.impl Parse for MetaNameValue
[src]
impl Parse for MetaNameValue
[src]This is supported on crate feature
parsing
only.fn parse(input: ParseStream<'_>) -> Result<Self>
[src]
impl PartialEq<MetaNameValue> for MetaNameValue
[src]
impl PartialEq<MetaNameValue> for MetaNameValue
[src]This is supported on crate feature
extra-traits
only.impl ToTokens for MetaNameValue
[src]
impl ToTokens for MetaNameValue
[src]This is supported on crate feature
printing
only.fn to_tokens(&self, tokens: &mut TokenStream)
[src]
pub fn to_token_stream(&self) -> TokenStream
[src]
pub fn into_token_stream(self) -> TokenStream
[src]
Auto Trait Implementations
impl RefUnwindSafe for MetaNameValue
impl RefUnwindSafe for MetaNameValue
impl !Send for MetaNameValue
impl !Send for MetaNameValue
impl !Sync for MetaNameValue
impl !Sync for MetaNameValue
impl Unpin for MetaNameValue
impl Unpin for MetaNameValue
impl UnwindSafe for MetaNameValue
impl UnwindSafe for MetaNameValue