pub trait Protocol {
    fn light(&self, option: &LightOption) -> Vec<u8>;
    fn color(&self, option: &ColorOption) -> Vec<u8>;
    fn brightness(&self, option: &BrightnessOption<'_>) -> Vec<u8>;
    fn hw_animate(&self, option: &HWAnimateOption<'_>) -> Vec<u8>;
    fn _animation_speed(setting: &HWAnimationSpeedSetting) -> u8;
    fn _static_color(color: &HWStaticColorOption) -> u8;
}

Required Methods

Implementors