The `egui_winit::State` contains both the `clipboard` and `allow_ime`, but these are both private fields. In our implementation we use `egui_winit` to do most of the lifting, but it would come really in handy if we could access these values. Instead of making the fields `pub` we opted for separate get/set functions, that way calling side can't freely replace any of the values fully and it's more in line with the style of the rest of the codebase. --------- Co-authored-by: Marijn Suijten <marijn@traverseresearch.nl> Co-authored-by: Marijn Suijten <marijns95@gmail.com> |
||
|---|---|---|
| .. | ||
| clipboard.rs | ||
| lib.rs | ||
| window_settings.rs | ||