Closed mzabaluev closed 11 years ago
A solution is needed for dynamic down- and side-casting between traits representing GObject interfaces. It should be as idiomatic Rust as possible, and invoke GObject dynamic cast checks.
Mostly implemented as of 5d81d4e401b80b8f5fde9b051a46cbe2e71bac7c, but I'm not certain cast::transmute does the right thing.
Yes, reinterpret_cast sounds better. Done.
A solution is needed for dynamic down- and side-casting between traits representing GObject interfaces. It should be as idiomatic Rust as possible, and invoke GObject dynamic cast checks.