#traits #geometric #macro #impl #truck #generate

macro truck-derivers

Derive macros generating an impl of the geometric traits

1 unstable release

0.1.0 Sep 20, 2024

#1305 in Procedural macros

Download history 141/week @ 2024-09-18 32/week @ 2024-09-25 29/week @ 2024-10-02 12/week @ 2024-10-09

214 downloads per month
Used in 6 crates (2 directly)

Apache-2.0

53KB
1.5K SLoC

truck-derivers

Define some derive macros for implements geometric traits.

The macros defined here are all called by truck-geotrait, so there is no need for the user to specify a priori any dependencies on this crate. To use the macros used in this crate, activate the feature derive in truck-geotrait.

truck-geotrait = { version = "0.3.0", features = ["derive"] }

Dependencies

~290–740KB
~17K SLoC