pub struct SmartShiftEnhancedStatusChange {
pub wheel_mode: Option<WheelMode>,
pub auto_disengage: Option<NonZeroU8>,
pub tunable_torque: Option<NonZeroU8>,
}Expand description
Enhanced SmartShift status update.
Fields§
§wheel_mode: Option<WheelMode>Wheel mode to apply, or None to leave unchanged.
auto_disengage: Option<NonZeroU8>Automatic disengage threshold, or None to leave unchanged.
HID++ encodes 0 as “do not change”, so writable values must be non-zero.
tunable_torque: Option<NonZeroU8>Tunable torque, or None to leave unchanged.
HID++ encodes 0 as “do not change”, so writable values must be non-zero.
Trait Implementations§
impl Copy for SmartShiftEnhancedStatusChange
impl Eq for SmartShiftEnhancedStatusChange
impl StructuralPartialEq for SmartShiftEnhancedStatusChange
Auto Trait Implementations§
impl Freeze for SmartShiftEnhancedStatusChange
impl RefUnwindSafe for SmartShiftEnhancedStatusChange
impl Send for SmartShiftEnhancedStatusChange
impl Sync for SmartShiftEnhancedStatusChange
impl Unpin for SmartShiftEnhancedStatusChange
impl UnsafeUnpin for SmartShiftEnhancedStatusChange
impl UnwindSafe for SmartShiftEnhancedStatusChange
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