Enum vmc::message::TrackingState
source · #[repr(i32)]pub enum TrackingState {
Poor,
Good,
}
Expand description
Quality of tracking.
Variants§
Poor
Tracking is in poor condition (could be due to hitting the edge of the camera’s view, or poor lighting)
Good
Tracking is in good condition.
Trait Implementations§
source§impl Clone for TrackingState
impl Clone for TrackingState
source§fn clone(&self) -> TrackingState
fn clone(&self) -> TrackingState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TrackingState
impl Debug for TrackingState
source§impl From<TrackingState> for OSCType
impl From<TrackingState> for OSCType
source§fn from(value: TrackingState) -> Self
fn from(value: TrackingState) -> Self
Converts to this type from the input type.
source§impl PartialEq<TrackingState> for TrackingState
impl PartialEq<TrackingState> for TrackingState
source§fn eq(&self, other: &TrackingState) -> bool
fn eq(&self, other: &TrackingState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<i32> for TrackingState
impl TryFrom<i32> for TrackingState
impl Copy for TrackingState
impl Eq for TrackingState
impl StructuralEq for TrackingState
impl StructuralPartialEq for TrackingState
Auto Trait Implementations§
impl RefUnwindSafe for TrackingState
impl Send for TrackingState
impl Sync for TrackingState
impl Unpin for TrackingState
impl UnwindSafe for TrackingState
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
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.