Kolsky

Results 9 comments of Kolsky

@Bastczuak your code does not account for client vs normal window rect differences though, so window isn't necessarily centered. Try to test if monitor-sized window does have a visible border...

Several points to consider: 1. `zero_extend`, `sign_extend` and `truncate` changing signedness should be perfectly fine, as they're operating on bit representations in memory. You wouldn't normally draw parallels between numeric...

So I came up with a quick idea and implemented it in [`yabe`](https://crates.io/crates/yabe). As it turned out, it's similar to `num-conv`, but it also remains terse. My personal gripes above...

The issue still persists as version at crates.io wasn't updated. Gluon also fails to build due to incompatible versions of lsp-types.

Adding a prior art for const array length inference with a macro, regardless whether this rfc ends up accepted or not: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=121942080c9bb1d9a7a83bfbf315e6c2 Other points were already discussed, but just to...

> the `NEWS` example being a `fn` actually would be an implicit conversation still Function item type is different from fn pointer type. It'd have an unnameable type of ZST...

> Use a type alias There is exactly one place in the code where I want to declare say static with the type `OnceLock Arc>`. I only speak with it...

> **What solution would you like?** > ... > 4. Support for nested sublayers May I ask how nested sublayers are laid out? Can they be nested many levels deep...

So I've made a procedural macro for enums, it's available at https://github.com/Kolsky/syn_derive_layers. You can nest it as much as you need to by deriving `Layers`, which can be applied to...