pub enum AmbientLightBrickletFunction {
Show 17 variants
GetIlluminance,
GetAnalogValue,
SetIlluminanceCallbackPeriod,
GetIlluminanceCallbackPeriod,
SetAnalogValueCallbackPeriod,
GetAnalogValueCallbackPeriod,
SetIlluminanceCallbackThreshold,
GetIlluminanceCallbackThreshold,
SetAnalogValueCallbackThreshold,
GetAnalogValueCallbackThreshold,
SetDebouncePeriod,
GetDebouncePeriod,
GetIdentity,
CallbackIlluminance,
CallbackAnalogValue,
CallbackIlluminanceReached,
CallbackAnalogValueReached,
}
Variants
GetIlluminance
GetAnalogValue
SetIlluminanceCallbackPeriod
GetIlluminanceCallbackPeriod
SetAnalogValueCallbackPeriod
GetAnalogValueCallbackPeriod
SetIlluminanceCallbackThreshold
GetIlluminanceCallbackThreshold
SetAnalogValueCallbackThreshold
GetAnalogValueCallbackThreshold
SetDebouncePeriod
GetDebouncePeriod
GetIdentity
CallbackIlluminance
CallbackAnalogValue
CallbackIlluminanceReached
CallbackAnalogValueReached
Trait Implementations
sourceimpl From<AmbientLightBrickletFunction> for u8
impl From<AmbientLightBrickletFunction> for u8
sourcefn from(fun: AmbientLightBrickletFunction) -> Self
fn from(fun: AmbientLightBrickletFunction) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for AmbientLightBrickletFunction
impl Send for AmbientLightBrickletFunction
impl Sync for AmbientLightBrickletFunction
impl Unpin for AmbientLightBrickletFunction
impl UnwindSafe for AmbientLightBrickletFunction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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