Struct syn::PatReference
source · pub struct PatReference {
pub attrs: Vec<Attribute>,
pub and_token: And,
pub mutability: Option<Mut>,
pub pat: Box<Pat>,
}
Expand description
A reference pattern: &mut var
.
Fields§
§attrs: Vec<Attribute>
§and_token: And
§mutability: Option<Mut>
§pat: Box<Pat>
Trait Implementations§
source§impl From<PatReference> for Pat
impl From<PatReference> for Pat
source§fn from(e: PatReference) -> Pat
fn from(e: PatReference) -> Pat
Converts to this type from the input type.