pub struct MotionSnapshot {
pub joint_position: JointPositionState,
pub end_pose: EndPoseState,
}Expand description
运动状态快照(逻辑原子性)
用于在同一时刻捕获多个运动相关状态,保证逻辑上的原子性。 这是一个栈上对象(Stack Allocated),开销极小。
Fields§
§joint_position: JointPositionState关节位置状态
end_pose: EndPoseState末端位姿状态
Trait Implementations§
Source§impl Clone for MotionSnapshot
impl Clone for MotionSnapshot
Source§fn clone(&self) -> MotionSnapshot
fn clone(&self) -> MotionSnapshot
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 moreAuto Trait Implementations§
impl Freeze for MotionSnapshot
impl RefUnwindSafe for MotionSnapshot
impl Send for MotionSnapshot
impl Sync for MotionSnapshot
impl Unpin for MotionSnapshot
impl UnwindSafe for MotionSnapshot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more