Struct syn::ExprType [−][src]
pub struct ExprType { pub attrs: Vec<Attribute>, pub expr: Box<Expr>, pub colon_token: Colon, pub ty: Box<Type>, }
A type ascription expression: foo: f64
.
This type is available only if Syn is built with the "full"
feature.
Fields
attrs: Vec<Attribute>
expr: Box<Expr>
colon_token: Colon
ty: Box<Type>
Trait Implementations
impl Clone for ExprType
[src]
impl Clone for ExprType
[src]fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl ToTokens for ExprType
[src]
impl ToTokens for ExprType
[src]