Struct syn::PatReference [−][src]
pub struct PatReference { pub attrs: Vec<Attribute>, pub and_token: And, pub mutability: Option<Mut>, pub pat: Box<Pat>, }
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]fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
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]impl PartialEq<PatReference> for PatReference
[src]
impl PartialEq<PatReference> for PatReference
[src]impl ToTokens for PatReference
[src]
impl ToTokens for PatReference
[src]