pub(super) struct BufferWriter {
target: WritableTarget,
write_style: WriteStyle,
}Fields§
§target: WritableTarget§write_style: WriteStyleImplementations§
Source§impl BufferWriter
impl BufferWriter
pub(super) fn stderr(is_test: bool, write_style: WriteStyle) -> Self
pub(super) fn stdout(is_test: bool, write_style: WriteStyle) -> Self
pub(super) fn pipe( pipe: Box<Mutex<dyn Write + Send + 'static>>, write_style: WriteStyle, ) -> Self
pub(super) fn write_style(&self) -> WriteStyle
pub(super) fn buffer(&self) -> Buffer
pub(super) fn print(&self, buf: &Buffer) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BufferWriter
impl RefUnwindSafe for BufferWriter
impl Send for BufferWriter
impl Sync for BufferWriter
impl Unpin for BufferWriter
impl UnwindSafe for BufferWriter
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