Struct fuzzy_pickles::ast::TraitImplArgumentNamed
source · pub struct TraitImplArgumentNamed {
pub extent: Extent,
pub name: Option<Pattern>,
pub typ: Type,
pub whitespace: Vec<Whitespace>,
}
Expand description
An argument of a trait’s function declaration
Example Source
ⓘ
trait X { fn a(b: bool, i32); }
// ^^^^^^^ ^^^
Fields§
§extent: Extent
§name: Option<Pattern>
§typ: Type
§whitespace: Vec<Whitespace>