Struct omnisensor::i2c::HwmonDeviceType
source · [−]Expand description
A basic (non-pmbus) hwmon I2C device type.
Fields
name: &'static str
Device type name (uppercase).
creates_hwmon: bool
Whether or not we expect the driver to create a hwmon
subdirectory when
bound to a device.
Trait Implementations
sourceimpl Clone for HwmonDeviceType
impl Clone for HwmonDeviceType
sourcefn clone(&self) -> HwmonDeviceType
fn clone(&self) -> HwmonDeviceType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for HwmonDeviceType
impl Debug for HwmonDeviceType
sourceimpl Hash for HwmonDeviceType
impl Hash for HwmonDeviceType
sourceimpl PartialEq<HwmonDeviceType> for HwmonDeviceType
impl PartialEq<HwmonDeviceType> for HwmonDeviceType
sourcefn eq(&self, other: &HwmonDeviceType) -> bool
fn eq(&self, other: &HwmonDeviceType) -> bool
impl Copy for HwmonDeviceType
impl Eq for HwmonDeviceType
impl StructuralEq for HwmonDeviceType
impl StructuralPartialEq for HwmonDeviceType
Auto Trait Implementations
impl RefUnwindSafe for HwmonDeviceType
impl Send for HwmonDeviceType
impl Sync for HwmonDeviceType
impl Unpin for HwmonDeviceType
impl UnwindSafe for HwmonDeviceType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more