Enum lis3dh_async::Range
source · #[repr(u8)]pub enum Range {
G16 = 3,
G8 = 2,
G4 = 1,
G2 = 0,
}
Expand description
Full-scale selection.
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq for Range
impl PartialEq for Range
source§impl TryFrom<u8> for Range
impl TryFrom<u8> for Range
§type Error = TryFromPrimitiveError<Range>
type Error = TryFromPrimitiveError<Range>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for Range
impl TryFromPrimitive for Range
impl Copy for Range
impl Eq for Range
impl StructuralEq for Range
impl StructuralPartialEq for Range
Auto Trait Implementations§
impl RefUnwindSafe for Range
impl Send for Range
impl Sync for Range
impl Unpin 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