Struct esp_idf_hal::adc::config::Config
source · pub struct Config {
pub resolution: Resolution,
pub calibration: bool,
}
Fields§
§resolution: Resolution
§calibration: bool
Implementations§
source§impl Config
impl Config
pub fn new() -> Self
pub fn resolution(self, resolution: Resolution) -> Self
pub fn calibration(self, calibration: bool) -> Self
Trait Implementations§
impl Copy for Config
Auto Trait Implementations§
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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