pub struct MotionProgressSample { /* private fields */ }Expand description
Sample from a normalized 0..1 progress execution.
Implementations§
Source§impl MotionProgressSample
impl MotionProgressSample
Sourcepub const fn scalar_sample(self) -> MotionScalarExecutionSample
pub const fn scalar_sample(self) -> MotionScalarExecutionSample
Returns the underlying scalar execution sample.
Sourcepub const fn complete(self) -> bool
pub const fn complete(self) -> bool
Returns whether the progress run reached its 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 MotionProgressSample
impl Clone for MotionProgressSample
impl Copy for MotionProgressSample
Source§impl Debug for MotionProgressSample
impl Debug for MotionProgressSample
Source§impl PartialEq for MotionProgressSample
impl PartialEq for MotionProgressSample
impl StructuralPartialEq for MotionProgressSample
Auto Trait Implementations§
impl Freeze for MotionProgressSample
impl RefUnwindSafe for MotionProgressSample
impl Send for MotionProgressSample
impl Sync for MotionProgressSample
impl Unpin for MotionProgressSample
impl UnsafeUnpin for MotionProgressSample
impl UnwindSafe for MotionProgressSample
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