pub struct PrintWriter { /* private fields */ }Implementations§
Source§impl PrintWriter
impl PrintWriter
pub fn new(writer: Box<dyn Write>) -> Self
pub fn new_auto_flush(writer: Box<dyn Write>) -> Self
pub fn print(&mut self, text: &str)
pub fn println(&mut self, text: &str)
pub fn printf(&mut self, args: Arguments<'_>)
pub fn newline(&mut self)
pub fn flush(&mut self)
Auto Trait Implementations§
impl !RefUnwindSafe for PrintWriter
impl !Send for PrintWriter
impl !Sync for PrintWriter
impl !UnwindSafe for PrintWriter
impl Freeze for PrintWriter
impl Unpin for PrintWriter
impl UnsafeUnpin for PrintWriter
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