#[repr(u8)]pub enum Range {
G16_1 = 1,
G16_2 = 3,
G16_3 = 5,
G16_14Bit = 7,
G8 = 4,
G8_14Bit = 6,
G4 = 2,
G2 = 0,
}Expand description
The acceleration range.
Variants§
G16_1 = 1
±16g
G16_2 = 3
±16g
G16_3 = 5
±16g
G16_14Bit = 7
±16g available only in 14-bit mode
G8 = 4
±8g
G8_14Bit = 6
±8g available only in 14-bit mode
G4 = 2
±4g
G2 = 0
±2g (Default)
Implementations§
Trait Implementations§
impl Copy for Range
impl Eq for Range
impl StructuralPartialEq for Range
Auto Trait Implementations§
impl Freeze for Range
impl RefUnwindSafe for Range
impl Send for Range
impl Sync for Range
impl Unpin for Range
impl UnsafeUnpin for Range
impl UnwindSafe for Range
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