pub enum AlertPolarity {
ActiveLow,
ActiveHigh,
}Expand description
The ALERT pin’s active level (configuration bit 3, POL).
Variants§
Trait Implementations§
Source§impl Clone for AlertPolarity
impl Clone for AlertPolarity
Source§fn clone(&self) -> AlertPolarity
fn clone(&self) -> AlertPolarity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AlertPolarity
Source§impl Debug for AlertPolarity
impl Debug for AlertPolarity
impl Eq for AlertPolarity
Source§impl PartialEq for AlertPolarity
impl PartialEq for AlertPolarity
Source§fn eq(&self, other: &AlertPolarity) -> bool
fn eq(&self, other: &AlertPolarity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AlertPolarity
Auto Trait Implementations§
impl Freeze for AlertPolarity
impl RefUnwindSafe for AlertPolarity
impl Send for AlertPolarity
impl Sync for AlertPolarity
impl Unpin for AlertPolarity
impl UnsafeUnpin for AlertPolarity
impl UnwindSafe for AlertPolarity
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