Struct ble_ledly::communication_protocol::generic_rgb::GenericRGB
source · [−]pub struct GenericRGB {}Trait Implementations
sourceimpl Default for GenericRGB
impl Default for GenericRGB
sourceimpl Protocol for GenericRGB
impl Protocol for GenericRGB
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
Auto Trait Implementations
impl RefUnwindSafe for GenericRGB
impl Send for GenericRGB
impl Sync for GenericRGB
impl Unpin for GenericRGB
impl UnwindSafe for GenericRGB
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more