remove TextureConvertResult Thingy
This commit is contained in:
		@ -7,27 +7,6 @@ use std::path::{Path, PathBuf};
 | 
			
		||||
mod image_convert;
 | 
			
		||||
mod metadata_file;
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
pub type TextureFileResult = Result<Vec<u8>, TextureFileError>;
 | 
			
		||||
pub enum TextureFileError {
 | 
			
		||||
    NotFound,
 | 
			
		||||
    IoError(io::Error),
 | 
			
		||||
    ImageError(::image::ImageError),
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
impl From<io::Error> for TextureFileError {
 | 
			
		||||
    fn from(err: io::Error) -> Self {
 | 
			
		||||
        TextureFileError::IoError(err)
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
impl From<::image::ImageError> for TextureFileError {
 | 
			
		||||
    fn from(err: ::image::ImageError) -> Self {
 | 
			
		||||
        TextureFileError::ImageError(err)
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
pub struct DataStore {
 | 
			
		||||
    //data_path: PathBuf,
 | 
			
		||||
    base_dir: PathBuf,
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user