pub struct NormalizedDeckControl {
pub motor_mode: MotorMode,
pub motor_rate: f64,
pub hand_contact: bool,
pub hand_target_angle_turns: Option<f64>,
pub hand_rate: f64,
pub grip: f64,
pub stylus_torque_nm: f64,
}Fields§
§motor_mode: MotorMode§motor_rate: f64§hand_contact: bool§hand_target_angle_turns: Option<f64>§hand_rate: f64§grip: f64§stylus_torque_nm: f64Trait Implementations§
Source§impl Clone for NormalizedDeckControl
impl Clone for NormalizedDeckControl
Source§fn clone(&self) -> NormalizedDeckControl
fn clone(&self) -> NormalizedDeckControl
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 moreimpl Copy for NormalizedDeckControl
Source§impl Debug for NormalizedDeckControl
impl Debug for NormalizedDeckControl
Source§impl<'de> Deserialize<'de> for NormalizedDeckControl
impl<'de> Deserialize<'de> for NormalizedDeckControl
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 NormalizedDeckControl
impl PartialEq for NormalizedDeckControl
Source§impl Serialize for NormalizedDeckControl
impl Serialize for NormalizedDeckControl
impl StructuralPartialEq for NormalizedDeckControl
Auto Trait Implementations§
impl Freeze for NormalizedDeckControl
impl RefUnwindSafe for NormalizedDeckControl
impl Send for NormalizedDeckControl
impl Sync for NormalizedDeckControl
impl Unpin for NormalizedDeckControl
impl UnsafeUnpin for NormalizedDeckControl
impl UnwindSafe for NormalizedDeckControl
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