pub struct MoxtetModule {
pub id: MoxtetModuleId,
pub index: u8,
}Expand description
A module discovered on the moxtet SPI shift chain.
Fields§
§id: MoxtetModuleId§index: u8Zero-based position of this module on the chain. This is the value
used to address the module through BusDriver::read_reg/
write_reg : see Moxtet for the addressing scheme.
Auto Trait Implementations§
impl Freeze for MoxtetModule
impl RefUnwindSafe for MoxtetModule
impl Send for MoxtetModule
impl Sync for MoxtetModule
impl Unpin for MoxtetModule
impl UnsafeUnpin for MoxtetModule
impl UnwindSafe for MoxtetModule
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