Struct fuzzy_pickles::ast::Ascription
source · pub struct Ascription {
pub extent: Extent,
pub target: Box<Attributed<Expression>>,
pub typ: Type,
pub whitespace: Vec<Whitespace>,
}
Expand description
Inline type specification
Example Source
ⓘ
fn a() { iterator.collect() : Vec<_>; }
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Fields§
§extent: Extent
§target: Box<Attributed<Expression>>
§typ: Type
§whitespace: Vec<Whitespace>