pub struct SensorCapabilities {
pub ignore: bool,
pub auto_rearm: bool,
pub event_message_control: u8,
pub hysteresis: HysteresisCapability,
pub threshold_access: ThresholdAccessCapability,
pub assertion_threshold_events: ThresholdAssertEventMask,
pub deassertion_threshold_events: ThresholdAssertEventMask,
}Fields§
§ignore: bool§auto_rearm: bool§event_message_control: u8§hysteresis: HysteresisCapability§threshold_access: ThresholdAccessCapability§assertion_threshold_events: ThresholdAssertEventMask§deassertion_threshold_events: ThresholdAssertEventMaskImplementations§
Trait Implementations§
Source§impl Clone for SensorCapabilities
impl Clone for SensorCapabilities
Source§fn clone(&self) -> SensorCapabilities
fn clone(&self) -> SensorCapabilities
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SensorCapabilities
impl Debug for SensorCapabilities
impl Copy for SensorCapabilities
Auto Trait Implementations§
impl Freeze for SensorCapabilities
impl RefUnwindSafe for SensorCapabilities
impl Send for SensorCapabilities
impl Sync for SensorCapabilities
impl Unpin for SensorCapabilities
impl UnwindSafe for SensorCapabilities
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more