Struct StructField
pub comptime struct StructField
{ /* private fields */ }
Implementations
impl StructField
pub comptime fn name(self) -> Quoted
The field's declared name, as a Quoted identifier.
pub comptime fn typ(self) -> Type
The field's declared type.
pub comptime fn visibility(self) -> ItemVisibility
The field's declared visibility.
A field of a
TypeDefinition, returned fromTypeDefinition::fieldsandTypeDefinition::fields_as_written.