1 2 3 4 5 6
use std::fmt::Display; pub trait IPrinter<Printable: Display> { fn print(&self, out: Printable); }