Lyricdev
GitHub

struct StructDecl

pub struct StructDecl :: [Debug]

Conforms to Debug.

A struct. delegates names, per interface, the field it is delegated to (:: [Walker by legs]), "" where none; empty when none is. As the first parameter of a macro it marks an attribute macro for structs.

Fields

pub visibility: Visibility
pub name: Ident
pub generics: GenericParam[]
pub interfaces: Type[]
pub delegates: string[]
pub members: Decl[]
pub attributes: Attribute[]
pub span: Span