Struct vl53l1::DeviceInterruptPolarity
source · pub struct DeviceInterruptPolarity(pub u8);
Tuple Fields§
§0: u8
Implementations§
source§impl DeviceInterruptPolarity
impl DeviceInterruptPolarity
pub const ACTIVE_HIGH: Self = _
pub const ACTIVE_LOW: Self = _
pub const BIT_MASK: Self = _
pub const CLEAR_MASK: Self = _
Trait Implementations§
source§impl Clone for DeviceInterruptPolarity
impl Clone for DeviceInterruptPolarity
source§fn clone(&self) -> DeviceInterruptPolarity
fn clone(&self) -> DeviceInterruptPolarity
Returns a copy 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 DeviceInterruptPolarity
impl Debug for DeviceInterruptPolarity
source§impl Default for DeviceInterruptPolarity
impl Default for DeviceInterruptPolarity
source§fn default() -> DeviceInterruptPolarity
fn default() -> DeviceInterruptPolarity
Returns the “default value” for a type. Read more