pub enum VioTrackingStatus {
Stable6Dof,
Limited,
Lost,
}Expand description
VIO stability state used by the spatial world-anchor resolver.
Variants§
Stable6Dof
Six degree-of-freedom tracking is stable enough for world-locked panels.
Limited
Tracking is present but not stable enough to keep panels world locked.
Lost
Tracking is unavailable.
Implementations§
Source§impl VioTrackingStatus
impl VioTrackingStatus
Sourcepub fn from_symbol(symbol: &Symbol) -> Result<Self>
pub fn from_symbol(symbol: &Symbol) -> Result<Self>
Decodes the shared XR tracking symbol into resolver status.
Trait Implementations§
Source§impl Clone for VioTrackingStatus
impl Clone for VioTrackingStatus
Source§fn clone(&self) -> VioTrackingStatus
fn clone(&self) -> VioTrackingStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VioTrackingStatus
Source§impl Debug for VioTrackingStatus
impl Debug for VioTrackingStatus
impl Eq for VioTrackingStatus
Source§impl PartialEq for VioTrackingStatus
impl PartialEq for VioTrackingStatus
impl StructuralPartialEq for VioTrackingStatus
Auto Trait Implementations§
impl Freeze for VioTrackingStatus
impl RefUnwindSafe for VioTrackingStatus
impl Send for VioTrackingStatus
impl Sync for VioTrackingStatus
impl Unpin for VioTrackingStatus
impl UnsafeUnpin for VioTrackingStatus
impl UnwindSafe for VioTrackingStatus
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