Struct project2::PrinterProxy
source · pub struct PrinterProxy;
Expand description
The proxied printer.
You MUST proxied print
call through this object.
Example
let s = "abc"
writeln!(PrinterProxy, "{}", s);
Implementations§
source§impl PrinterProxy
impl PrinterProxy
Trait Implementations§
source§impl Write for PrinterProxy
impl Write for PrinterProxy
Auto Trait Implementations§
impl RefUnwindSafe for PrinterProxy
impl Send for PrinterProxy
impl Sync for PrinterProxy
impl Unpin for PrinterProxy
impl UnwindSafe for PrinterProxy
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
const: unstable§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more