pub struct VgaText<'a> { /* private fields */ }
Expand description
UART-compatible wrapper around the VGA text writer.
Implementations§
Trait Implementations§
Source§impl DeferredCallClient for VgaText<'_>
impl DeferredCallClient for VgaText<'_>
Source§impl<'a> Receive<'a> for VgaText<'a>
impl<'a> Receive<'a> for VgaText<'a>
Source§fn set_receive_client(&self, client: &'a dyn ReceiveClient)
fn set_receive_client(&self, client: &'a dyn ReceiveClient)
Set the receive client, which will be called when reads complete.
Source§impl<'a> Transmit<'a> for VgaText<'a>
impl<'a> Transmit<'a> for VgaText<'a>
Source§fn set_transmit_client(&self, client: &'a dyn TransmitClient)
fn set_transmit_client(&self, client: &'a dyn TransmitClient)
Set the transmit client, which will be called when transmissions
complete.
Source§fn transmit_buffer(
&self,
buffer: &'static mut [u8],
len: usize,
) -> Result<(), (ErrorCode, &'static mut [u8])>
fn transmit_buffer( &self, buffer: &'static mut [u8], len: usize, ) -> Result<(), (ErrorCode, &'static mut [u8])>
Transmit a buffer of data. Read more
Auto Trait Implementations§
impl<'a> !Freeze for VgaText<'a>
impl<'a> !RefUnwindSafe for VgaText<'a>
impl<'a> !Send for VgaText<'a>
impl<'a> !Sync for VgaText<'a>
impl<'a> Unpin for VgaText<'a>
impl<'a> !UnwindSafe for VgaText<'a>
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