pub struct CalibrationConfiguration { /* private fields */ }
Expand description
Configuration file format.
Each string in the rgbc structs should be a file path to a file with the following format:
version sample_count
linear_fit_slope linear_fit_intercept
lux measurement
# repeated multiple times
Only linear_fit_slope
and linear_fit_intercept
are used.
Trait Implementations§
Source§impl Debug for CalibrationConfiguration
impl Debug for CalibrationConfiguration
Source§impl<'de> Deserialize<'de> for CalibrationConfiguration
impl<'de> Deserialize<'de> for CalibrationConfiguration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CalibrationConfiguration
impl RefUnwindSafe for CalibrationConfiguration
impl Send for CalibrationConfiguration
impl Sync for CalibrationConfiguration
impl Unpin for CalibrationConfiguration
impl UnwindSafe for CalibrationConfiguration
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