Struct kernel::debug::DebugWriterWrapper
source · [−]pub struct DebugWriterWrapper { /* private fields */ }
Expand description
Wrapper type that we need a mutable reference to for the core::fmt::Write interface.
Implementations
sourceimpl DebugWriterWrapper
impl DebugWriterWrapper
pub fn new(dw: &'static DebugWriter) -> DebugWriterWrapper
impl DebugWriterWrapper
This impl block contains no items.
Pass through functions.
Trait Implementations
sourceimpl IoWrite for DebugWriterWrapper
impl IoWrite for DebugWriterWrapper
fn write(&mut self, bytes: &[u8])
fn write_ring_buffer<'a>(&mut self, buf: &RingBuffer<'a, u8>)
Auto Trait Implementations
impl !RefUnwindSafe for DebugWriterWrapper
impl !Send for DebugWriterWrapper
impl !Sync for DebugWriterWrapper
impl Unpin for DebugWriterWrapper
impl !UnwindSafe for DebugWriterWrapper
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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