pub struct MotionScalarExecutionSample { /* private fields */ }Expand description
Sample from a policy-resolved scalar execution.
Implementations§
Source§impl MotionScalarExecutionSample
impl MotionScalarExecutionSample
Sourcepub const fn scalar_sample(self) -> MotionScalarSample
pub const fn scalar_sample(self) -> MotionScalarSample
Returns the underlying scalar sample.
Sourcepub const fn complete(self) -> bool
pub const fn complete(self) -> bool
Returns whether the run has reached the semantic completion state.
Sourcepub const fn frame_demand(self) -> MotionFrameDemand
pub const fn frame_demand(self) -> MotionFrameDemand
Returns whether the adapter should request another frame.
Trait Implementations§
Source§impl Clone for MotionScalarExecutionSample
impl Clone for MotionScalarExecutionSample
impl Copy for MotionScalarExecutionSample
Source§impl Debug for MotionScalarExecutionSample
impl Debug for MotionScalarExecutionSample
impl StructuralPartialEq for MotionScalarExecutionSample
Auto Trait Implementations§
impl Freeze for MotionScalarExecutionSample
impl RefUnwindSafe for MotionScalarExecutionSample
impl Send for MotionScalarExecutionSample
impl Sync for MotionScalarExecutionSample
impl Unpin for MotionScalarExecutionSample
impl UnsafeUnpin for MotionScalarExecutionSample
impl UnwindSafe for MotionScalarExecutionSample
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