move grid functions to trait
This commit is contained in:
		
							parent
							
								
									314bec36f3
								
							
						
					
					
						commit
						bcf040911d
					
				
					 11 changed files with 96 additions and 88 deletions
				
			
		| 
						 | 
				
			
			@ -3,10 +3,7 @@ use std::time::Duration;
 | 
			
		|||
 | 
			
		||||
use clap::Parser;
 | 
			
		||||
 | 
			
		||||
use servicepoint2::{
 | 
			
		||||
    BitVec, Command, CompressionCode, Connection, PixelGrid, FRAME_PACING,
 | 
			
		||||
    PIXEL_HEIGHT, PIXEL_WIDTH,
 | 
			
		||||
};
 | 
			
		||||
use servicepoint2::{BitVec, Command, CompressionCode, Connection, PixelGrid, FRAME_PACING, PIXEL_HEIGHT, PIXEL_WIDTH, Grid};
 | 
			
		||||
 | 
			
		||||
#[derive(Parser, Debug)]
 | 
			
		||||
struct Cli {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue