Enum lm75::OsPolarity
source · pub enum OsPolarity {
ActiveLow,
ActiveHigh,
}
Expand description
OS polarity
Variants§
Trait Implementations§
source§impl Clone for OsPolarity
impl Clone for OsPolarity
source§fn clone(&self) -> OsPolarity
fn clone(&self) -> OsPolarity
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 OsPolarity
impl Debug for OsPolarity
source§impl Default for OsPolarity
impl Default for OsPolarity
source§fn default() -> OsPolarity
fn default() -> OsPolarity
Returns the “default value” for a type. Read more
source§impl Hash for OsPolarity
impl Hash for OsPolarity
source§impl Ord for OsPolarity
impl Ord for OsPolarity
source§fn cmp(&self, other: &OsPolarity) -> Ordering
fn cmp(&self, other: &OsPolarity) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for OsPolarity
impl PartialEq for OsPolarity
source§fn eq(&self, other: &OsPolarity) -> bool
fn eq(&self, other: &OsPolarity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for OsPolarity
impl PartialOrd for OsPolarity
source§fn partial_cmp(&self, other: &OsPolarity) -> Option<Ordering>
fn partial_cmp(&self, other: &OsPolarity) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for OsPolarity
impl Eq for OsPolarity
impl StructuralEq for OsPolarity
impl StructuralPartialEq for OsPolarity
Auto Trait Implementations§
impl RefUnwindSafe for OsPolarity
impl Send for OsPolarity
impl Sync for OsPolarity
impl Unpin for OsPolarity
impl UnwindSafe for OsPolarity
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