1 2 3 4 5
use crate::core::{DeviceCommand, LightState}; pub trait DeviceCompiler { fn compile(&self, state: &LightState) -> Vec<DeviceCommand>; }