pub enum VoltageBrickletFunction {
Show 17 variants
GetVoltage,
GetAnalogValue,
SetVoltageCallbackPeriod,
GetVoltageCallbackPeriod,
SetAnalogValueCallbackPeriod,
GetAnalogValueCallbackPeriod,
SetVoltageCallbackThreshold,
GetVoltageCallbackThreshold,
SetAnalogValueCallbackThreshold,
GetAnalogValueCallbackThreshold,
SetDebouncePeriod,
GetDebouncePeriod,
GetIdentity,
CallbackVoltage,
CallbackAnalogValue,
CallbackVoltageReached,
CallbackAnalogValueReached,
}
Variants§
GetVoltage
GetAnalogValue
SetVoltageCallbackPeriod
GetVoltageCallbackPeriod
SetAnalogValueCallbackPeriod
GetAnalogValueCallbackPeriod
SetVoltageCallbackThreshold
GetVoltageCallbackThreshold
SetAnalogValueCallbackThreshold
GetAnalogValueCallbackThreshold
SetDebouncePeriod
GetDebouncePeriod
GetIdentity
CallbackVoltage
CallbackAnalogValue
CallbackVoltageReached
CallbackAnalogValueReached
Trait Implementations§
source§impl From<VoltageBrickletFunction> for u8
impl From<VoltageBrickletFunction> for u8
source§fn from(fun: VoltageBrickletFunction) -> Self
fn from(fun: VoltageBrickletFunction) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for VoltageBrickletFunction
impl Send for VoltageBrickletFunction
impl Sync for VoltageBrickletFunction
impl Unpin for VoltageBrickletFunction
impl UnwindSafe for VoltageBrickletFunction
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