Enum mcp230xx::IntOnChange
source · pub enum IntOnChange {
Enabled = 1,
Disabled = 0,
}
Expand description
Interrupt on change state.
Variants§
Trait Implementations§
source§impl Clone for IntOnChange
impl Clone for IntOnChange
source§fn clone(&self) -> IntOnChange
fn clone(&self) -> IntOnChange
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 IntOnChange
impl Debug for IntOnChange
source§impl PartialEq for IntOnChange
impl PartialEq for IntOnChange
source§fn eq(&self, other: &IntOnChange) -> bool
fn eq(&self, other: &IntOnChange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for IntOnChange
impl Eq for IntOnChange
impl StructuralPartialEq for IntOnChange
Auto Trait Implementations§
impl Freeze for IntOnChange
impl RefUnwindSafe for IntOnChange
impl Send for IntOnChange
impl Sync for IntOnChange
impl Unpin for IntOnChange
impl UnwindSafe for IntOnChange
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