pub trait IconDataExt {
// Required methods
fn to_image(&self) -> Result<RgbaImage, String>;
fn to_png_bytes(&self) -> Result<Vec<u8>, String>;
}Expand description
Helpers for working with IconData.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".