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
merged 3 commits into from Nov 27, 2018

Conversation

Projects
None yet
3 participants
@sdroege
Copy link
Member

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
complication.
@EPashkin

This comment has been minimized.

Copy link
Member

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

GuillaumeGomez Nov 27, 2018

Member

You even added an example, awesome!

@GuillaumeGomez

This comment has been minimized.

Copy link
Member

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
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
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.