pub enum JointsCommand {
Set {
parameter: String,
value: f64,
},
}Expand description
What the joints panel is sent.
Variants§
Set
Set the value parameter a step offers a user to set — a joint’s
coordinate: an angle in degrees, or a distance — to value: the
parts move to it, everything else that is free giving way.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JointsCommand
impl<'de> Deserialize<'de> for JointsCommand
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
Auto Trait Implementations§
impl Freeze for JointsCommand
impl RefUnwindSafe for JointsCommand
impl Send for JointsCommand
impl Sync for JointsCommand
impl Unpin for JointsCommand
impl UnsafeUnpin for JointsCommand
impl UnwindSafe for JointsCommand
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