Missing QVariant -> Primitive Type Conversions #74
Labels
A-wrappers
Area: Wrappers and bindings
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
E-easy
Call for participation: Experience needed to fix: Easy / not much
P-high
High priority
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).The text was updated successfully, but these errors were encountered: