#[repr(u8)]pub enum AddressPin {
Ground = 0,
Supply = 1,
Sda = 2,
Scl = 3,
}Expand description
What an address pin is tied to; each of A1 and A0 takes one of four levels.
Variants§
Trait Implementations§
Source§impl Clone for AddressPin
impl Clone for AddressPin
Source§fn clone(&self) -> AddressPin
fn clone(&self) -> AddressPin
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 AddressPin
Source§impl Debug for AddressPin
impl Debug for AddressPin
impl Eq for AddressPin
Source§impl PartialEq for AddressPin
impl PartialEq for AddressPin
Source§fn eq(&self, other: &AddressPin) -> bool
fn eq(&self, other: &AddressPin) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AddressPin
Auto Trait Implementations§
impl Freeze for AddressPin
impl RefUnwindSafe for AddressPin
impl Send for AddressPin
impl Sync for AddressPin
impl Unpin for AddressPin
impl UnsafeUnpin for AddressPin
impl UnwindSafe for AddressPin
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