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.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
This is supported on crate feature
clone-impls
only.This is supported on crate feature
extra-traits
only.Performs the conversion.
This is supported on crate feature
extra-traits
only.This is supported on crate feature
extra-traits
only.This is supported on crate feature
printing
only.This is supported on crate feature
extra-traits
only.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