16 releases (8 breaking)

Uses new Rust 2021

0.10.0 Apr 13, 2022
0.9.0 Dec 31, 2021
0.8.0 Nov 26, 2021
0.7.0 Jun 28, 2021
0.5.0 Sep 29, 2019

#9 in #stateless

Download history 219/week @ 2022-04-22 278/week @ 2022-04-29 204/week @ 2022-05-06 400/week @ 2022-05-13 165/week @ 2022-05-20 269/week @ 2022-05-27 254/week @ 2022-06-03 139/week @ 2022-06-10 202/week @ 2022-06-17 174/week @ 2022-06-24 224/week @ 2022-07-01 125/week @ 2022-07-08 191/week @ 2022-07-15 189/week @ 2022-07-22 221/week @ 2022-07-29 301/week @ 2022-08-05

923 downloads per month
Used in 14 crates (5 directly)

BSD-3-Clause

30KB
736 lines

luminance-derive

Derive procedural macros for luminance.

This crate exports several macros used to ease development with luminance. You are strongly advised to read the documentation of luminance in the first place.

Vertex

This macro allows to derive the Vertex trait for a custom struct type.

See the full documentation here

Semantics

This macro allows to derive the Semantics trait for a custom enum type.

See the full documentation here

UniformInterface

This macro allows to derive the [UniformInterface] trait for a custom struct type.

See the full documentation here

Dependencies

~215–620KB
~15K SLoC