#stateless #type-safe #graphics #luminance #derive

macro luminance-derive

Procedural macros for deriving luminance traits

5 releases (3 breaking)

✓ Uses Rust 2018 edition

0.5.0 Sep 29, 2019
0.4.0 Sep 20, 2019
0.3.0 Sep 12, 2019
0.2.2 Sep 12, 2019
0.1.0 Aug 23, 2019

#113 in Graphics APIs

Download history 13/week @ 2019-08-18 36/week @ 2019-08-25 70/week @ 2019-09-01 92/week @ 2019-09-08 78/week @ 2019-09-15 78/week @ 2019-09-22 58/week @ 2019-09-29 17/week @ 2019-10-06 22/week @ 2019-10-13 39/week @ 2019-10-20 34/week @ 2019-10-27

123 downloads per month
Used in 2 crates

BSD-3-Clause

30KB
540 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

~0.6–0.8MB
~20K SLoC