Struct esp_idf_hal::adc::oneshot::config::AdcChannelConfig
source · pub struct AdcChannelConfig {
pub attenuation: adc_atten_t,
pub resolution: Resolution,
pub calibration: bool,
}
Fields§
§attenuation: adc_atten_t
§resolution: Resolution
§calibration: bool
Implementations§
Trait Implementations§
source§impl Clone for AdcChannelConfig
impl Clone for AdcChannelConfig
source§fn clone(&self) -> AdcChannelConfig
fn clone(&self) -> AdcChannelConfig
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AdcChannelConfig
impl Debug for AdcChannelConfig
source§impl Default for AdcChannelConfig
impl Default for AdcChannelConfig
source§fn default() -> AdcChannelConfig
fn default() -> AdcChannelConfig
Returns the “default value” for a type. Read more
impl Copy for AdcChannelConfig
Auto Trait Implementations§
impl Freeze for AdcChannelConfig
impl RefUnwindSafe for AdcChannelConfig
impl Send for AdcChannelConfig
impl Sync for AdcChannelConfig
impl Unpin for AdcChannelConfig
impl UnwindSafe for AdcChannelConfig
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)