| 
									
										
										
										
											2021-02-16 14:48:20 -07:00
										 |  |  | #![allow(clippy::integer_arithmetic)]
 | 
					
						
							| 
									
										
										
										
											2020-09-22 18:29:11 -06:00
										 |  |  | mod cli_output;
 | 
					
						
							|  |  |  | pub mod display;
 | 
					
						
							|  |  |  | pub use cli_output::*;
 | 
					
						
							| 
									
										
										
										
											2020-09-28 14:18:31 -06:00
										 |  |  | 
 | 
					
						
							|  |  |  | pub trait QuietDisplay: std::fmt::Display {
 | 
					
						
							|  |  |  |     fn write_str(&self, w: &mut dyn std::fmt::Write) -> std::fmt::Result {
 | 
					
						
							|  |  |  |         write!(w, "{}", self)
 | 
					
						
							|  |  |  |     }
 | 
					
						
							|  |  |  | }
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | pub trait VerboseDisplay: std::fmt::Display {
 | 
					
						
							|  |  |  |     fn write_str(&self, w: &mut dyn std::fmt::Write) -> std::fmt::Result {
 | 
					
						
							|  |  |  |         write!(w, "{}", self)
 | 
					
						
							|  |  |  |     }
 | 
					
						
							|  |  |  | }
 |