Struct sensors::Sensors [−][src]
pub struct Sensors { /* fields omitted */ }
Methods
impl Sensors
[src]
impl Sensors
pub fn new() -> Self
[src]
pub fn new() -> Self
pub fn detected_chips<S: AsRef<str>>(
&self,
name: S
) -> Result<ChipIterator, LibsensorsError>
[src]
pub fn detected_chips<S: AsRef<str>>(
&self,
name: S
) -> Result<ChipIterator, LibsensorsError>
Returns an iterator over all detected chips that match a given chip name
Trait Implementations
impl Copy for Sensors
[src]
impl Copy for Sensors
impl Clone for Sensors
[src]
impl Clone for Sensors
fn clone(&self) -> Sensors
[src]
fn clone(&self) -> Sensors
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Sensors
[src]
impl Debug for Sensors
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl IntoIterator for Sensors
[src]
impl IntoIterator for Sensors