mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
0f33775a91
This PR adds general-purpose functions for obtaining a `Length` in viewport units. Previously in #3600 we had added specific variants of `w` and `h` that took viewport units, but I think it makes more sense to just have a primitive that can compose with any styling method that accepts a `Length` or `Into<Length>`. Release Notes: - N/A |
||
---|---|---|
.. | ||
docs | ||
src | ||
build.rs | ||
Cargo.lock | ||
Cargo.toml |