Struct syn::PatType [−][src]
pub struct PatType {
    pub attrs: Vec<Attribute>,
    pub pat: Box<Pat>,
    pub colon_token: Colon,
    pub ty: Box<Type>,
}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: Colonty: Box<Type>Trait Implementations
impl Clone for PatType[src]
impl Clone for PatType[src]fn clone(&self) -> Self[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl ToTokens for PatType[src]
impl ToTokens for PatType[src]