Registry / other / luminance-derive

luminance-derive

JSON →
library0.10.0rscratesunverified

Procedural macros for deriving luminance traits.

# Cargo.toml [dependencies] luminance-derive = "0.10.0"
INSTALL
IMPORT
SIG · LUMINANCE-DERIVE
L
luminance-derive
otherrustv0.10.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Vertex
use luminance_derive::Vertex;

Derive the Vertex trait for a custom vertex type.

use luminance_derive::Vertex; #[derive(Vertex)] #[repr(C)] struct MyVertex { position: [f32; 3], } fn main() { println!("Vertex derived."); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.10.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
luminance-derive — cargo add luminance-derive · libregistry