Trait embedded_graphics::image::ImageFile
source · pub trait ImageFile<'a>: Dimensions + Sized {
// Required methods
fn new(filedata: &'a [u8]) -> Result<Self, ()>;
fn width(&self) -> u32;
fn height(&self) -> u32;
}Expand description
Image trait
Required Methods§
Object Safety§
This trait is not object safe.