pub enum MotionExecutionState {
Immediate,
Scheduled,
}Expand description
Policy-resolved execution state for a motion run before adapter sampling begins.
Variants§
Immediate
The run should publish its final semantic state without requesting frames.
Scheduled
The run may sample over time and request adapter-owned frames.
Implementations§
Source§impl MotionExecutionState
impl MotionExecutionState
Sourcepub const fn is_immediate(self) -> bool
pub const fn is_immediate(self) -> bool
Returns whether the run completes immediately.
Sourcepub const fn is_scheduled(self) -> bool
pub const fn is_scheduled(self) -> bool
Returns whether the run should be sampled over time.
Trait Implementations§
Source§impl Clone for MotionExecutionState
impl Clone for MotionExecutionState
impl Copy for MotionExecutionState
Source§impl Debug for MotionExecutionState
impl Debug for MotionExecutionState
impl Eq for MotionExecutionState
Source§impl PartialEq for MotionExecutionState
impl PartialEq for MotionExecutionState
impl StructuralPartialEq for MotionExecutionState
Auto Trait Implementations§
impl Freeze for MotionExecutionState
impl RefUnwindSafe for MotionExecutionState
impl Send for MotionExecutionState
impl Sync for MotionExecutionState
impl Unpin for MotionExecutionState
impl UnsafeUnpin for MotionExecutionState
impl UnwindSafe for MotionExecutionState
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