1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
//! Error types for RA2 MIX file operations #[cfg(feature = "image")] mod from_image; #[cfg(feature = "apng")] mod for_apng; #[cfg(feature = "toml")] mod from_toml; use crate::Ra2Error; impl From<std::io::Error> for Ra2Error { fn from(error: std::io::Error) -> Self { Self::IoError(error) } }