Struct syn::PatReference [−][src]
pub struct PatReference { pub attrs: Vec<Attribute>, pub and_token: And, pub mutability: Option<Mut>, pub pat: Box<Pat>, }
This is supported on crate feature
full
only.A reference pattern: &mut var
.
This type is available only if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
and_token: And
mutability: Option<Mut>
pat: Box<Pat>
Trait Implementations
impl Clone for PatReference
[src]
impl Clone for PatReference
[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 PatReference
[src]
impl Debug for PatReference
[src]This is supported on crate feature
extra-traits
only.impl Eq for PatReference
[src]
impl Eq for PatReference
[src]This is supported on crate feature
extra-traits
only.impl From<PatReference> for Pat
[src]
impl From<PatReference> for Pat
[src]fn from(e: PatReference) -> Pat
[src]
impl Hash for PatReference
[src]
impl Hash for PatReference
[src]This is supported on crate feature
extra-traits
only.impl PartialEq<PatReference> for PatReference
[src]
impl PartialEq<PatReference> for PatReference
[src]This is supported on crate feature
extra-traits
only.impl ToTokens for PatReference
[src]
impl ToTokens for PatReference
[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 PatReference
impl RefUnwindSafe for PatReference
impl !Send for PatReference
impl !Send for PatReference
impl !Sync for PatReference
impl !Sync for PatReference
impl Unpin for PatReference
impl Unpin for PatReference
impl UnwindSafe for PatReference
impl UnwindSafe for PatReference