Lyricdev
GitHub

struct MemberInfo

pub struct MemberInfo :: [Equatable, Debug]

Conforms to Equatable, Debug.

Describes a member of a type's own body.

Its name, its visibility, whether it is static, whether it is mut, its kind, and a function's parameters; none for a constant or an associated type, both of which are static.

Fields

pub name: string
pub visibility: Visibility
pub isStatic: bool
pub isMut: bool
pub kind: MemberKind
pub parameters: ParameterInfo[]