Struct syn::PatType [−][src]
pub struct PatType { pub attrs: Vec<Attribute>, pub pat: Box<Pat>, pub colon_token: Colon, pub ty: Box<Type>, }
Expand description
A type ascription pattern: foo: f64
.
This type is available only if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
pat: Box<Pat>
colon_token: Colon
ty: Box<Type>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PatType
impl UnwindSafe for PatType
Blanket Implementations
Mutably borrows from an owned value. Read more