Lyricdev
GitHub

struct FieldDecl

pub struct FieldDecl :: [Debug]

Conforms to Debug.

A field of a struct or a class.

Fields

pub visibility: Visibility
pub isVar: bool
pub name: Ident
pub type: Type
pub default: ?Expr
pub attributes: Attribute[]
pub span: Span