[−][src]Struct mynewt::hw::sensor::sensor_color_data
Fields
scd_r: u16
scd_g: u16
scd_b: u16
scd_c: u16
scd_lux: u16
scd_colortemp: u16
scd_saturation: u16
scd_saturation75: u16
scd_is_sat: u8
scd_cratio: f32
scd_maxlux: u16
scd_ir: u16
_bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>
Methods
impl sensor_color_data
[src]
pub fn scd_r_is_valid(&self) -> u16
[src]
pub fn set_scd_r_is_valid(&mut self, val: u16)
[src]
pub fn scd_g_is_valid(&self) -> u16
[src]
pub fn set_scd_g_is_valid(&mut self, val: u16)
[src]
pub fn scd_b_is_valid(&self) -> u16
[src]
pub fn set_scd_b_is_valid(&mut self, val: u16)
[src]
pub fn scd_c_is_valid(&self) -> u16
[src]
pub fn set_scd_c_is_valid(&mut self, val: u16)
[src]
pub fn scd_lux_is_valid(&self) -> u16
[src]
pub fn set_scd_lux_is_valid(&mut self, val: u16)
[src]
pub fn scd_colortemp_is_valid(&self) -> u16
[src]
pub fn set_scd_colortemp_is_valid(&mut self, val: u16)
[src]
pub fn scd_saturation_is_valid(&self) -> u16
[src]
pub fn set_scd_saturation_is_valid(&mut self, val: u16)
[src]
pub fn scd_saturation75_is_valid(&self) -> u16
[src]
pub fn set_scd_saturation75_is_valid(&mut self, val: u16)
[src]
pub fn scd_is_sat_is_valid(&self) -> u16
[src]
pub fn set_scd_is_sat_is_valid(&mut self, val: u16)
[src]
pub fn scd_cratio_is_valid(&self) -> u16
[src]
pub fn set_scd_cratio_is_valid(&mut self, val: u16)
[src]
pub fn scd_maxlux_is_valid(&self) -> u16
[src]
pub fn set_scd_maxlux_is_valid(&mut self, val: u16)
[src]
pub fn scd_ir_is_valid(&self) -> u16
[src]
pub fn set_scd_ir_is_valid(&mut self, val: u16)
[src]
pub fn new_bitfield_1(
scd_r_is_valid: u16,
scd_g_is_valid: u16,
scd_b_is_valid: u16,
scd_c_is_valid: u16,
scd_lux_is_valid: u16,
scd_colortemp_is_valid: u16,
scd_saturation_is_valid: u16,
scd_saturation75_is_valid: u16,
scd_is_sat_is_valid: u16,
scd_cratio_is_valid: u16,
scd_maxlux_is_valid: u16,
scd_ir_is_valid: u16
) -> __BindgenBitfieldUnit<[u8; 2], u8>
[src]
scd_r_is_valid: u16,
scd_g_is_valid: u16,
scd_b_is_valid: u16,
scd_c_is_valid: u16,
scd_lux_is_valid: u16,
scd_colortemp_is_valid: u16,
scd_saturation_is_valid: u16,
scd_saturation75_is_valid: u16,
scd_is_sat_is_valid: u16,
scd_cratio_is_valid: u16,
scd_maxlux_is_valid: u16,
scd_ir_is_valid: u16
) -> __BindgenBitfieldUnit<[u8; 2], u8>
Trait Implementations
impl Default for sensor_color_data
[src]
fn default() -> sensor_color_data
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,