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
.
Fields§
§attrs: Vec<Attribute>
§pat: Box<Pat>
§colon_token: Colon
§ty: Box<Type>