Struct syn::ExprType [−][src]
A type ascription expression: foo: f64
.
This type is available if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
expr: Box<Expr>
colon_token: Colon
ty: Box<Type>
Trait Implementations
impl ToTokens for ExprType
[src]
[+]
impl ToTokens for ExprType
impl Clone for ExprType
[src]
[+]
impl Clone for ExprType
impl From<ExprType> for Expr
[src]
[+]
impl From<ExprType> for Expr