Skip to main content

Crate sensor_db_derive

Crate sensor_db_derive 

Source
Expand description

Derive macro for [sensor_db::SensorData].

This crate is an implementation detail of the sensor-db crate’s derive feature. Use it through that feature rather than depending on it directly:

sensor-db = { version = "0.1", features = ["derive"] }
zerocopy = { version = "0.8", features = ["derive"] }

See the SensorData documentation for usage.

Derive Macros§

SensorData
Derive [sensor_db::SensorData], binding a type to a sensor ID.