Enum tmp1x2::AlertPolarity
source · pub enum AlertPolarity {
ActiveLow,
ActiveHigh,
}
Expand description
Alert polarity
Variants§
Trait Implementations§
source§impl Clone for AlertPolarity
impl Clone for AlertPolarity
source§fn clone(&self) -> AlertPolarity
fn clone(&self) -> AlertPolarity
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 AlertPolarity
impl Debug for AlertPolarity
source§impl Default for AlertPolarity
impl Default for AlertPolarity
source§fn default() -> AlertPolarity
fn default() -> AlertPolarity
Returns the “default value” for a type. Read more
source§impl Hash for AlertPolarity
impl Hash for AlertPolarity
source§impl PartialEq for AlertPolarity
impl PartialEq for AlertPolarity
source§fn eq(&self, other: &AlertPolarity) -> bool
fn eq(&self, other: &AlertPolarity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AlertPolarity
impl Eq for AlertPolarity
impl StructuralPartialEq for AlertPolarity
Auto Trait Implementations§
impl RefUnwindSafe for AlertPolarity
impl Send for AlertPolarity
impl Sync for AlertPolarity
impl Unpin 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