Enum vl53l1x_uld::threshold::Window
source · [−]pub enum Window {
Below,
Above,
In,
Out,
}
Expand description
Threshold window behavior.
Variants
Below
Trigger when measurement is below threshold. The low threshold will be used as threshold.
Above
Trigger when measurement is above threshold. The high threshold will be used as threshold.
In
Trigger when measurement is inside the window.
Out
Trigger when measurement is outside the window.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Window
impl Send for Window
impl Sync for Window
impl Unpin for Window
impl UnwindSafe for Window
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