Skip to content

Generate FromVariant and ToVariant for enums #1355

@pbor

Description

@pbor

Currently introspected enums do not easily convert to variants as they just expose their u32 representation.

For instance this would be useful when storing enums in gsettings

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions