Bevy-Rust-GPU / rust-gpu-sdf

Signed distance field library usable on both CPU and GPU.
Apache License 2.0
12 stars 1 forks source link

`no_std` `named_type` equivalent for cross-workspace communication #20

Open Shfty opened 1 year ago

Shfty commented 1 year ago

named_type is similar to TypeName::of::<T>, but encoded via explicit (derived) trait impls, and guaranteed to be of stable format with fully-expanded generics.

This will be needed in order for bevy-rust-gpu to send syn-friendly types over the workspace boundary for insertion in permutate-macro.

Shfty commented 1 year ago

named_type isn't suitable, as it isn't no_std. Will have to implement an equivalent.