Struct syn::PatReference [−][src]
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
.
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
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for PatReference
impl !Send for PatReference
impl !Sync for PatReference
impl Unpin for PatReference
impl UnwindSafe for PatReference
Blanket Implementations
Mutably borrows from an owned value. Read more