Struct sensors::BusId [−][src]
pub struct BusId { /* fields omitted */ }
Methods
impl BusId
[src]
impl BusId
pub fn bus_type(&self) -> i16
[src]
pub fn bus_type(&self) -> i16
pub fn nr(&self) -> i16
[src]
pub fn nr(&self) -> i16
pub fn get_adapter_name(&self) -> Option<String>
[src]
pub fn get_adapter_name(&self) -> Option<String>
Return the adapter name of the bus. If it could not be found, it returns None
Trait Implementations
impl Copy for BusId
[src]
impl Copy for BusId
impl Clone for BusId
[src]
impl Clone for BusId
fn clone(&self) -> BusId
[src]
fn clone(&self) -> BusId
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 BusId
[src]
impl Debug for BusId