Skip to content

Missing QVariant -> Primitive Type Conversions #74

Open
@Ace4896

Description

@Ace4896

Recently I found that the QVariant wrapper can be created from Rust's primitive types (i32, f32 etc.), but there isn't a way to directly convert it back into a primitive type.

I'd take this on if I have free time, but what I've thought of so far is implementing TryInto<...> for the QVariant wrapper (since the conversion can fail).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-wrappersArea: Wrappers and bindingsC-feature-requestCategory: A feature request, i.e: not implemented / a PR.E-easyCall for participation: Experience needed to fix: Easy / not muchP-highHigh priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions