#[non_exhaustive]pub struct Config { /* private fields */ }Expand description
Temperature sensor configuration
Implementations§
Source§impl Config
 
impl Config
Sourcepub fn with_clock_source(self, clock_source: ClockSource) -> Self
 
pub fn with_clock_source(self, clock_source: ClockSource) -> Self
Assign the given value to the clock_source field.
Sourcepub fn clock_source(&self) -> ClockSource
 
pub fn clock_source(&self) -> ClockSource
Clock source for the temperature sensor
Trait Implementations§
impl Copy for Config
Available on crate feature 
unstable only.impl Eq for Config
Available on crate feature 
unstable only.impl StructuralPartialEq for Config
Available on crate feature 
unstable only.Auto Trait Implementations§
impl Freeze for Config
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
§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
 
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)