Enum lis3dh_async::SlaveAddr
source · #[repr(u8)]
pub enum SlaveAddr {
Default,
Alternate,
}
Expand description
Possible I²C slave addresses.
Variants
Default
Default slave address (0x18
)
Alternate
Alternate slave address (0x19
)
Implementations
Trait Implementations
impl Copy for SlaveAddr
impl Eq for SlaveAddr
impl StructuralEq for SlaveAddr
impl StructuralPartialEq for SlaveAddr
Auto Trait Implementations
impl RefUnwindSafe for SlaveAddr
impl Send for SlaveAddr
impl Sync for SlaveAddr
impl Unpin for SlaveAddr
impl UnwindSafe for SlaveAddr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more