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

macro truck-derivers

Derive macros generating an impl of the geometric traits

1 unstable release

0.1.0 Sep 20, 2024

#1406 in Procedural macros

Download history 141/week @ 2024-09-18 32/week @ 2024-09-25 29/week @ 2024-10-02 26/week @ 2024-10-09 38/week @ 2024-10-16 25/week @ 2024-10-23

126 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

~285–740KB
~17K SLoC