Lyricdev
GitHub

struct ParameterInfo

pub struct ParameterInfo :: [Equatable, Debug]

Conforms to Equatable, Debug.

Describes a parameter of a function, in declaration order.

Its name, its type, its place, and whether its declaration writes a default; in a comptime for over it, parameterAttribute<A>(p) reads what it carries.

Fields

pub name: string
pub type: Type
pub index: int
pub hasDefault: bool