kenz-gelsoft / wxRust2

re-exploration Rust binding to wx
MIT License
78 stars 10 forks source link

Move methods defs into module #40

Closed kenz-gelsoft closed 2 years ago

kenz-gelsoft commented 2 years ago

To make client code more rust-idiomatic.

After this PR, you can use blanket trait impls with use wx::methods::*; and just use your using APIs without wildcard use.

like this