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§
Source§impl Clone for SmartShiftEnhancedStatusChange
impl Clone for SmartShiftEnhancedStatusChange
Source§fn clone(&self) -> SmartShiftEnhancedStatusChange
fn clone(&self) -> SmartShiftEnhancedStatusChange
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 SmartShiftEnhancedStatusChange
Source§impl Default for SmartShiftEnhancedStatusChange
impl Default for SmartShiftEnhancedStatusChange
Source§fn default() -> SmartShiftEnhancedStatusChange
fn default() -> SmartShiftEnhancedStatusChange
Returns the “default value” for a type. Read more
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