Enum vl53l1x_uld::DistanceMode
source · [−]pub enum DistanceMode {
Short,
Long,
}
Expand description
Distance measuring mode.
Variants
Short
Short distance mode. Maximum distance is limited to 1.3 m but has better ambient immunity.
Long
Long distance mode. Can range up to 4 m in the dark with a 200 ms timing budget.
Trait Implementations
sourceimpl Clone for DistanceMode
impl Clone for DistanceMode
sourcefn clone(&self) -> DistanceMode
fn clone(&self) -> DistanceMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DistanceMode
impl Debug for DistanceMode
sourceimpl PartialEq<DistanceMode> for DistanceMode
impl PartialEq<DistanceMode> for DistanceMode
sourcefn eq(&self, other: &DistanceMode) -> bool
fn eq(&self, other: &DistanceMode) -> bool
impl Copy for DistanceMode
impl Eq for DistanceMode
impl StructuralEq for DistanceMode
impl StructuralPartialEq for DistanceMode
Auto Trait Implementations
impl RefUnwindSafe for DistanceMode
impl Send for DistanceMode
impl Sync for DistanceMode
impl Unpin for DistanceMode
impl UnwindSafe for DistanceMode
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