This repository has been archived by the owner on Mar 4, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
glib: Implement ToVariant and FromVariant for Variant
This is useful when combined with the container variant functions and trait implementations from gtk-rs/glib#651. BREAKING CHANGE: This remove `impl<T: ToVariant> From<T> for Variant`, which made it impossible to implement `ToVariant` since it conflicts with the standard library `impl<T> From<T> for T`: gtk-rs/glib#678
- Loading branch information
Showing
2 changed files
with
31 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters