Enum l3gd20::Scale
[−]
[src]
pub enum Scale { Dps250, Dps500, Dps2000, }
Full scale selection
Variants
Dps250
250 Degrees Per Second
Dps500
500 Degrees Per Second
Dps2000
2000 Degrees Per Second
Methods
impl Scale
[src]
pub fn degrees(&self, val: i16) -> f32
[src]
Convert a measurement to degrees
pub fn radians(&self, val: i16) -> f32
[src]
Convert a measurement to radians
Trait Implementations
impl Debug for Scale
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Scale
[src]
fn clone(&self) -> Scale
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more