hadronized / luminance-rs

Type-safe, type-level and stateless Rust graphics framework
https://phaazon.github.io/learn-luminance/
Other
1.09k stars 59 forks source link

`Vertex` derive macro obstructs use of the inherent method name `new` #575

Open kpreid opened 2 years ago

kpreid commented 2 years ago

The derive macro for Vertex generates an inherent associated function called new(). I propose that it be removed, for the following reasons:

(This isn't blocking anything; I just stubbed my toe on it when writing a new vertex type and thought it was worth mentioning.)