pub type ArgsTy = SigTy;
Expand description
A function argument type.
Aliased Type§
struct ArgsTy {
pub inputs: Interned<Vec<Ty>>,
pub body: Option<Ty>,
pub names: Interned<NameBone>,
pub name_started: u32,
pub spread_left: bool,
pub spread_right: bool,
}
Fields§
§inputs: Interned<Vec<Ty>>
The input types of the function.
body: Option<Ty>
The return (body) type of the function.
names: Interned<NameBone>
The name bone of the named parameters.
name_started: u32
The index of the first named parameter.
spread_left: bool
Whether the function has a spread left parameter.
spread_right: bool
Whether the function has a spread right parameter.