pub struct Wrap<T> { /* private fields */ }Trait Implementations§
Source§impl<W> Writer for Wrap<W>where
W: Write,
Available on crate feature std only.
impl<W> Writer for Wrap<W>where
W: Write,
Available on crate feature
std only.Source§fn borrow_mut(&mut self) -> Self::Mut<'_>
fn borrow_mut(&mut self) -> Self::Mut<'_>
Reborrow the current type.
Source§fn write_buffer<C, B>(&mut self, cx: &C, buffer: B) -> Result<(), C::Error>
fn write_buffer<C, B>(&mut self, cx: &C, buffer: B) -> Result<(), C::Error>
Write a buffer to the current writer.
Auto Trait Implementations§
impl<T> Freeze for Wrap<T>where
T: Freeze,
impl<T> RefUnwindSafe for Wrap<T>where
T: RefUnwindSafe,
impl<T> Send for Wrap<T>where
T: Send,
impl<T> Sync for Wrap<T>where
T: Sync,
impl<T> Unpin for Wrap<T>where
T: Unpin,
impl<T> UnwindSafe for Wrap<T>where
T: UnwindSafe,
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