pub enum ColorBrickletFunction {
Show 23 variants
GetColor,
SetColorCallbackPeriod,
GetColorCallbackPeriod,
SetColorCallbackThreshold,
GetColorCallbackThreshold,
SetDebouncePeriod,
GetDebouncePeriod,
LightOn,
LightOff,
IsLightOn,
SetConfig,
GetConfig,
GetIlluminance,
GetColorTemperature,
SetIlluminanceCallbackPeriod,
GetIlluminanceCallbackPeriod,
SetColorTemperatureCallbackPeriod,
GetColorTemperatureCallbackPeriod,
GetIdentity,
CallbackColor,
CallbackColorReached,
CallbackIlluminance,
CallbackColorTemperature,
}
Variants§
GetColor
SetColorCallbackPeriod
GetColorCallbackPeriod
SetColorCallbackThreshold
GetColorCallbackThreshold
SetDebouncePeriod
GetDebouncePeriod
LightOn
LightOff
IsLightOn
SetConfig
GetConfig
GetIlluminance
GetColorTemperature
SetIlluminanceCallbackPeriod
GetIlluminanceCallbackPeriod
SetColorTemperatureCallbackPeriod
GetColorTemperatureCallbackPeriod
GetIdentity
CallbackColor
CallbackColorReached
CallbackIlluminance
CallbackColorTemperature
Trait Implementations§
source§impl From<ColorBrickletFunction> for u8
impl From<ColorBrickletFunction> for u8
source§fn from(fun: ColorBrickletFunction) -> Self
fn from(fun: ColorBrickletFunction) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ColorBrickletFunction
impl Send for ColorBrickletFunction
impl Sync for ColorBrickletFunction
impl Unpin for ColorBrickletFunction
impl UnwindSafe for ColorBrickletFunction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more