pickx

Results 17 comments of pickx
trafficstars

> rust doesn't know that the enum is `u32`, so it will not allow transmuting unless you define the repr ah, I see. > > Subclass::from(42).to_ne_bytes() would return the expected...

> > I would expect [42, 0, 0, 0] / [0, 0, 0, 42] here > > that's `Subclass2` :) oh wait you mean `Subclass2` doesn't work? you're right, meaning...

thanks for the proposal. let's clarify this a little. I've summarized what I understand from your proposal (please feel free to correct me) and added additional questions in parenthesis. *...

> Right I think I hated `parse_macro_input!` because it won't take `procmacro2_TokenStream`. So first I would want to know what parse2 -> log/compile error says vs parse_macro_input yeah that's why...

To be clear, would this allow `FromBits`? How would this interact with non-zero patterns for padding? For example, ```rust #[bitsize(4)] #[derive(FromBits)] struct Tiny { #[at(2)] field: u2 } ``` what...

I think if you were to support this alternative workflow, an option to also completely disable recognition of the `rs` prefix in the url bar would be helpful.

(more idea dumps for this potential feature) the auto-update notification page, which may appear when opening the extension page if any crates were updated, should be tweaked to handle this...