pub struct AS7265XConfig {
pub enable_interrupt: bool,
pub gain: GainConfig,
pub measurement_mode: MeasurementMode,
pub integration_time: u8,
}Fields§
§enable_interrupt: boolEnable the onboard interrupt pin
gain: GainConfig§measurement_mode: MeasurementMode§integration_time: u8Integration time: value * 2.8ms
Trait Implementations§
Source§impl Clone for AS7265XConfig
impl Clone for AS7265XConfig
Source§fn clone(&self) -> AS7265XConfig
fn clone(&self) -> AS7265XConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AS7265XConfig
impl Debug for AS7265XConfig
Auto Trait Implementations§
impl Freeze for AS7265XConfig
impl RefUnwindSafe for AS7265XConfig
impl Send for AS7265XConfig
impl Sync for AS7265XConfig
impl Unpin for AS7265XConfig
impl UnsafeUnpin for AS7265XConfig
impl UnwindSafe for AS7265XConfig
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