pub struct SpiDev<'m, M: Mapper> {
pub regs: &'m mut SpiRegs,
/* private fields */
}
Fields§
§regs: &'m mut SpiRegs
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'m, M> RefUnwindSafe for SpiDev<'m, M>where
M: RefUnwindSafe,
impl<'m, M> Send for SpiDev<'m, M>where
M: Send,
impl<'m, M> Sync for SpiDev<'m, M>where
M: Sync,
impl<'m, M> Unpin for SpiDev<'m, M>
impl<'m, M> !UnwindSafe for SpiDev<'m, M>
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