pub struct AxisForceFeedback {
pub spring: Option<SpringForce>,
pub friction: f32,
pub vibration: Option<AxisVibration>,
}Expand description
Zuletzt gewünschtes Force Feedback einer logischen Achse.
Latest requested force feedback for one logical axis.
Fields§
§spring: Option<SpringForce>Feder. None, solange das Script noch keine gesetzt hat.
Spring. None until the script sets one.
friction: f32Reibung, 0 heißt aus.
Friction; 0 means off.
vibration: Option<AxisVibration>Schwingung. None heißt aus.
Oscillation. None means off.
Trait Implementations§
Source§impl Clone for AxisForceFeedback
impl Clone for AxisForceFeedback
impl Copy for AxisForceFeedback
Source§impl Debug for AxisForceFeedback
impl Debug for AxisForceFeedback
Source§impl Default for AxisForceFeedback
impl Default for AxisForceFeedback
Source§impl<'de> Deserialize<'de> for AxisForceFeedback
impl<'de> Deserialize<'de> for AxisForceFeedback
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 AxisForceFeedback
impl PartialEq for AxisForceFeedback
Source§impl Serialize for AxisForceFeedback
impl Serialize for AxisForceFeedback
impl StructuralPartialEq for AxisForceFeedback
Auto Trait Implementations§
impl Freeze for AxisForceFeedback
impl RefUnwindSafe for AxisForceFeedback
impl Send for AxisForceFeedback
impl Sync for AxisForceFeedback
impl Unpin for AxisForceFeedback
impl UnsafeUnpin for AxisForceFeedback
impl UnwindSafe for AxisForceFeedback
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