|  | @@ -4,15 +4,15 @@ use crate::errors::IncompleteMappingError;
 | 
	
		
			
				|  |  |  use crate::image::{Image, Pixel};
 | 
	
		
			
				|  |  |  use std::collections::{HashMap, HashSet};
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +#[derive(Deserialize, Debug)]
 | 
	
		
			
				|  |  | +pub struct Mapping(pub HashMap<Pixel, String>);
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  #[derive(Deserialize, Debug)]
 | 
	
		
			
				|  |  |  struct ColorEntry {
 | 
	
		
			
				|  |  |      color: Pixel,
 | 
	
		
			
				|  |  |      symbol: String,
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -#[derive(Deserialize, Debug)]
 | 
	
		
			
				|  |  | -pub struct Mapping(HashMap<Pixel, String>);
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |  impl Mapping {
 | 
	
		
			
				|  |  |      pub fn load(
 | 
	
		
			
				|  |  |          path: impl AsRef<std::path::Path>,
 |