Jonathan Kelley
Jonathan Kelley
Is there any good work around for `Box`? This got stabilized for stable rust's `Box`, but I don't think those changes ever trickled into Bumpalo.
You're right - this is a missing feature! I think the `Props` macro can be updated with an attribute that enables/disables memoization (the requirement for 'static to be PartialEq). We...
Revisiting this, the typical way would be to implement PartialEq manually: ```rust impl PartialEq for MyProps { fn eq(&self, other: &Self) -> bool { false } } ``` I'm not...
Hmmmm. To provide &T without cloning would require the use of raw pointers. In theory you could provide &mut T so long as you only provide it to one component...
> > Essentially you'd pin+box the value and then snatch it from up the tree. For what it's worth, *const T is clone so you could build a hook that...
This is awesome! I think it might be worth writing down some of the architecture and approach if you have anything in mind.
I recommend using NFD directly in handlers - we will be integrating NFD into file input elements in a future release.
> > I recommend using NFD directly in handlers - we will be integrating NFD into file input elements in a future release. > > use `NFD` replace `` or...
Sorry, we actually do have this ability but I guess it's just not documented. Check out the typed-builder crate where we borrow some of the proc macro code from: https://github.com/idanarye/rust-typed-builder
Is there a way to get the directory for Linux assets? So installed packages know where they're being launched from? Im sure a crate like bevy has figured this out.