pub struct GeneralConfig {
Show 17 fields pub gph_config__stream_count_update_value: GPH_CONFIG__STREAM_COUNT_UPDATE_VALUE, pub global_config__stream_divider: GLOBAL_CONFIG__STREAM_DIVIDER, pub system__interrupt_config_gpio: SYSTEM__INTERRUPT_CONFIG_GPIO, pub cal_config__vcsel_start: CAL_CONFIG__VCSEL_START, pub cal_config__repeat_rate: CAL_CONFIG__REPEAT_RATE, pub global_config__vcsel_width: GLOBAL_CONFIG__VCSEL_WIDTH, pub phasecal_config__timeout_macrop: PHASECAL_CONFIG__TIMEOUT_MACROP, pub phasecal_config__target: PHASECAL_CONFIG__TARGET, pub phasecal_config__override: PHASECAL_CONFIG__OVERRIDE, pub dss_config__roi_mode_control: DSS_CONFIG__ROI_MODE_CONTROL, pub system__thresh_rate_high: SYSTEM__THRESH_RATE_HIGH, pub system__thresh_rate_low: SYSTEM__THRESH_RATE_LOW, pub dss_config__manual_effective_spads_select: DSS_CONFIG__MANUAL_EFFECTIVE_SPADS_SELECT, pub dss_config__manual_block_select: DSS_CONFIG__MANUAL_BLOCK_SELECT, pub dss_config__aperture_attenuation: DSS_CONFIG__APERTURE_ATTENUATION, pub dss_config__max_spads_limit: DSS_CONFIG__MAX_SPADS_LIMIT, pub dss_config__min_spads_limit: DSS_CONFIG__MIN_SPADS_LIMIT,
}

Fields§

§gph_config__stream_count_update_value: GPH_CONFIG__STREAM_COUNT_UPDATE_VALUE§global_config__stream_divider: GLOBAL_CONFIG__STREAM_DIVIDER§system__interrupt_config_gpio: SYSTEM__INTERRUPT_CONFIG_GPIO§cal_config__vcsel_start: CAL_CONFIG__VCSEL_START§cal_config__repeat_rate: CAL_CONFIG__REPEAT_RATE§global_config__vcsel_width: GLOBAL_CONFIG__VCSEL_WIDTH§phasecal_config__timeout_macrop: PHASECAL_CONFIG__TIMEOUT_MACROP§phasecal_config__target: PHASECAL_CONFIG__TARGET§phasecal_config__override: PHASECAL_CONFIG__OVERRIDE§dss_config__roi_mode_control: DSS_CONFIG__ROI_MODE_CONTROL§system__thresh_rate_high: SYSTEM__THRESH_RATE_HIGH§system__thresh_rate_low: SYSTEM__THRESH_RATE_LOW§dss_config__manual_effective_spads_select: DSS_CONFIG__MANUAL_EFFECTIVE_SPADS_SELECT§dss_config__manual_block_select: DSS_CONFIG__MANUAL_BLOCK_SELECT§dss_config__aperture_attenuation: DSS_CONFIG__APERTURE_ATTENUATION§dss_config__max_spads_limit: DSS_CONFIG__MAX_SPADS_LIMIT§dss_config__min_spads_limit: DSS_CONFIG__MIN_SPADS_LIMIT

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
The index of the first entry.
The total length of the buffer necessary for I2C reading/writing.
Write the entries to a single slice. Read more
Write the entries via I2C. Read more
Read a new instance of the Entries struct from I2C.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.