#[non_exhaustive]pub struct SmartShiftEnhancedInfo {
pub capabilities: SmartShiftEnhancedCapabilities,
pub auto_disengage_default: u8,
pub default_tunable_torque: u8,
pub max_force: u8,
}Expand description
Capability and default values for enhanced SmartShift.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.capabilities: SmartShiftEnhancedCapabilitiesSupported capabilities.
auto_disengage_default: u8Default automatic disengage threshold.
default_tunable_torque: u8Default tunable torque, as a percentage of maximum force.
max_force: u8Maximum force in gram-force units.
Trait Implementations§
Source§impl Clone for SmartShiftEnhancedInfo
impl Clone for SmartShiftEnhancedInfo
Source§fn clone(&self) -> SmartShiftEnhancedInfo
fn clone(&self) -> SmartShiftEnhancedInfo
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 SmartShiftEnhancedInfo
Source§impl Debug for SmartShiftEnhancedInfo
impl Debug for SmartShiftEnhancedInfo
impl Eq for SmartShiftEnhancedInfo
Source§impl Hash for SmartShiftEnhancedInfo
impl Hash for SmartShiftEnhancedInfo
Source§impl PartialEq for SmartShiftEnhancedInfo
impl PartialEq for SmartShiftEnhancedInfo
impl StructuralPartialEq for SmartShiftEnhancedInfo
Auto Trait Implementations§
impl Freeze for SmartShiftEnhancedInfo
impl RefUnwindSafe for SmartShiftEnhancedInfo
impl Send for SmartShiftEnhancedInfo
impl Sync for SmartShiftEnhancedInfo
impl Unpin for SmartShiftEnhancedInfo
impl UnsafeUnpin for SmartShiftEnhancedInfo
impl UnwindSafe for SmartShiftEnhancedInfo
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