pub enum ContextValidity {
Valid,
Degraded {
reason: DegradationReason,
},
Invalid,
}Expand description
Whether temporal state is valid under the current camera view.
Stages and output consumers use this to decide how much to trust spatial relationships derived from temporal state.
Variants§
Valid
View is stable; all temporal state within this epoch is valid.
Degraded
View is changing; temporal state is degraded.
Tracks and trajectories from earlier in this epoch may be unreliable for direct spatial comparison with current-frame positions.
Fields
§
reason: DegradationReasonInvalid
View has changed so much that prior context is invalid.
A new epoch has been (or should be) opened.
Trait Implementations§
Source§impl Clone for ContextValidity
impl Clone for ContextValidity
Source§fn clone(&self) -> ContextValidity
fn clone(&self) -> ContextValidity
Returns a duplicate 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 ContextValidity
impl Debug for ContextValidity
Source§impl PartialEq for ContextValidity
impl PartialEq for ContextValidity
impl StructuralPartialEq for ContextValidity
Auto Trait Implementations§
impl Freeze for ContextValidity
impl RefUnwindSafe for ContextValidity
impl Send for ContextValidity
impl Sync for ContextValidity
impl Unpin for ContextValidity
impl UnsafeUnpin for ContextValidity
impl UnwindSafe for ContextValidity
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