mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-31 22:00:04 -04:00
implement mint conversions (#1930)
Implement conversions for [mint](https://docs.rs/mint) (math interoperability standard types). - `impl From<mint::Point2> for {Physical, Logical}Position` - `impl From<{Physical, Logical}Position> for mint::Point2` - `impl From<mint::Vector2> for {Physical, Logical}Size` - `impl From<{Physical, Logical}Size> for mint::Vector2`
This commit is contained in:
@@ -66,6 +66,7 @@ Winit provides the following features, which can be enabled in your `Cargo.toml`
|
||||
* `serde`: Enables serialization/deserialization of certain types with [Serde](https://crates.io/crates/serde).
|
||||
* `x11` (enabled by default): On Unix platform, compiles with the X11 backend
|
||||
* `wayland` (enabled by default): On Unix platform, compiles with the Wayland backend
|
||||
* `mint`: Enables mint (math interoperability standard types) conversions.
|
||||
|
||||
### Platform-specific usage
|
||||
|
||||
|
||||
Reference in New Issue
Block a user