pub enum DistanceIrBrickletFunction {
Show 19 variants
GetDistance,
GetAnalogValue,
SetSamplingPoint,
GetSamplingPoint,
SetDistanceCallbackPeriod,
GetDistanceCallbackPeriod,
SetAnalogValueCallbackPeriod,
GetAnalogValueCallbackPeriod,
SetDistanceCallbackThreshold,
GetDistanceCallbackThreshold,
SetAnalogValueCallbackThreshold,
GetAnalogValueCallbackThreshold,
SetDebouncePeriod,
GetDebouncePeriod,
GetIdentity,
CallbackDistance,
CallbackAnalogValue,
CallbackDistanceReached,
CallbackAnalogValueReached,
}
Variants§
GetDistance
GetAnalogValue
SetSamplingPoint
GetSamplingPoint
SetDistanceCallbackPeriod
GetDistanceCallbackPeriod
SetAnalogValueCallbackPeriod
GetAnalogValueCallbackPeriod
SetDistanceCallbackThreshold
GetDistanceCallbackThreshold
SetAnalogValueCallbackThreshold
GetAnalogValueCallbackThreshold
SetDebouncePeriod
GetDebouncePeriod
GetIdentity
CallbackDistance
CallbackAnalogValue
CallbackDistanceReached
CallbackAnalogValueReached
Trait Implementations§
Source§impl From<DistanceIrBrickletFunction> for u8
impl From<DistanceIrBrickletFunction> for u8
Source§fn from(fun: DistanceIrBrickletFunction) -> Self
fn from(fun: DistanceIrBrickletFunction) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DistanceIrBrickletFunction
impl RefUnwindSafe for DistanceIrBrickletFunction
impl Send for DistanceIrBrickletFunction
impl Sync for DistanceIrBrickletFunction
impl Unpin for DistanceIrBrickletFunction
impl UnwindSafe for DistanceIrBrickletFunction
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