Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for safely registering boxed types for Rust types #397

merged 3 commits into from Nov 27, 2018


None yet
3 participants
Copy link

sdroege commented Nov 27, 2018

Closes #395

sdroege added some commits Nov 27, 2018

Remove AnyValue and AnySendValue
This is simple enough to implement around the actual Rust types by
providing a custom boxed type, and Any adds another layer of

This comment has been minimized.

Copy link

EPashkin commented Nov 27, 2018

@sdroege Thanks, 👍

@@ -135,6 +135,44 @@
//! );
//! }
//! ```
//! # Example for registering a boxed type for a Rust struct

This comment has been minimized.


GuillaumeGomez Nov 27, 2018


You even added an example, awesome!


This comment has been minimized.

Copy link

GuillaumeGomez commented Nov 27, 2018

Thanks a lot!

@GuillaumeGomez GuillaumeGomez merged commit 9fec9aa into gtk-rs:master Nov 27, 2018

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
continuous-integration/travis-ci/pr The Travis CI build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.