pub enum InterruptPin {
Unused,
IntA,
IntB,
IntC,
IntD,
Reserved(u8),
}Expand description
Specifies which interrupt pin the device uses.
Variants§
Trait Implementations§
Source§impl Clone for InterruptPin
impl Clone for InterruptPin
Source§fn clone(&self) -> InterruptPin
fn clone(&self) -> InterruptPin
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 InterruptPin
Source§impl Debug for InterruptPin
impl Debug for InterruptPin
Source§impl Default for InterruptPin
impl Default for InterruptPin
impl Eq for InterruptPin
Source§impl From<InterruptPin> for u8
impl From<InterruptPin> for u8
Source§fn from(pin: InterruptPin) -> Self
fn from(pin: InterruptPin) -> Self
Converts to this type from the input type.
Source§impl From<u8> for InterruptPin
impl From<u8> for InterruptPin
Source§impl PartialEq for InterruptPin
impl PartialEq for InterruptPin
Source§fn eq(&self, other: &InterruptPin) -> bool
fn eq(&self, other: &InterruptPin) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InterruptPin
Auto Trait Implementations§
impl Freeze for InterruptPin
impl RefUnwindSafe for InterruptPin
impl Send for InterruptPin
impl Sync for InterruptPin
impl Unpin for InterruptPin
impl UnsafeUnpin for InterruptPin
impl UnwindSafe for InterruptPin
Blanket Implementations§
Source§impl<T> AsPrimitive<()> for T
impl<T> AsPrimitive<()> for T
fn as_primitive(self)
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