pub enum MotionCommand {
Seek {
study: String,
time: f64,
},
Check {
study: String,
},
}Expand description
What the motion panel is sent.
Variants§
Seek
Show the study study at the time time, in seconds: its joints
set to their values then, from where they are, everything else free
giving way.
Check
Play the study study through, frame by frame, and find the parts
that overlap at each: then show it where it was.
Trait Implementations§
Source§impl Clone for MotionCommand
impl Clone for MotionCommand
Source§fn clone(&self) -> MotionCommand
fn clone(&self) -> MotionCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MotionCommand
impl Debug for MotionCommand
Source§impl<'de> Deserialize<'de> for MotionCommand
impl<'de> Deserialize<'de> for MotionCommand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MotionCommand
impl PartialEq for MotionCommand
Source§impl Serialize for MotionCommand
impl Serialize for MotionCommand
impl StructuralPartialEq for MotionCommand
Auto Trait Implementations§
impl Freeze for MotionCommand
impl RefUnwindSafe for MotionCommand
impl Send for MotionCommand
impl Sync for MotionCommand
impl Unpin for MotionCommand
impl UnsafeUnpin for MotionCommand
impl UnwindSafe for MotionCommand
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