Enum lsm303agr::AccelScale
source · pub enum AccelScale {
G2 = 2,
G4 = 4,
G8 = 8,
G16 = 16,
}
Expand description
Accelerometer scaling factor
Variants§
Trait Implementations§
source§impl Clone for AccelScale
impl Clone for AccelScale
source§fn clone(&self) -> AccelScale
fn clone(&self) -> AccelScale
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AccelScale
impl Debug for AccelScale
source§impl PartialEq for AccelScale
impl PartialEq for AccelScale
source§fn eq(&self, other: &AccelScale) -> bool
fn eq(&self, other: &AccelScale) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AccelScale
impl StructuralPartialEq for AccelScale
Auto Trait Implementations§
impl RefUnwindSafe for AccelScale
impl Send for AccelScale
impl Sync for AccelScale
impl Unpin for AccelScale
impl UnwindSafe for AccelScale
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