Struct capsules_extra::bus::Bus8080Bus
source · pub struct Bus8080Bus<'a, B: Bus8080<'static>> { /* private fields */ }
Implementations§
source§impl<'a, B: Bus8080<'static>> Bus8080Bus<'a, B>
impl<'a, B: Bus8080<'static>> Bus8080Bus<'a, B>
pub fn new(bus: &'a B) -> Bus8080Bus<'a, B>
Trait Implementations§
source§impl<'a, A: BusAddr + Into<BusAddr8080>, B: Bus8080<'static>> Bus<'a, A> for Bus8080Bus<'a, B>
impl<'a, A: BusAddr + Into<BusAddr8080>, B: Bus8080<'static>> Bus<'a, A> for Bus8080Bus<'a, B>
source§fn write(
&self,
data_width: DataWidth,
buffer: &'static mut [u8],
len: usize,
) -> Result<(), (ErrorCode, &'static mut [u8])>
fn write( &self, data_width: DataWidth, buffer: &'static mut [u8], len: usize, ) -> Result<(), (ErrorCode, &'static mut [u8])>
Write data items to the previously set address Read more
source§fn read(
&self,
data_width: DataWidth,
buffer: &'static mut [u8],
len: usize,
) -> Result<(), (ErrorCode, &'static mut [u8])>
fn read( &self, data_width: DataWidth, buffer: &'static mut [u8], len: usize, ) -> Result<(), (ErrorCode, &'static mut [u8])>
Read data items from the previously set address Read more
fn set_client(&self, client: &'a dyn Client)
Auto Trait Implementations§
impl<'a, B> !Freeze for Bus8080Bus<'a, B>
impl<'a, B> !RefUnwindSafe for Bus8080Bus<'a, B>
impl<'a, B> !Send for Bus8080Bus<'a, B>
impl<'a, B> !Sync for Bus8080Bus<'a, B>
impl<'a, B> Unpin for Bus8080Bus<'a, B>
impl<'a, B> !UnwindSafe for Bus8080Bus<'a, B>
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