[−][src]Trait embedded_layout::prelude::ImageDimensions
A trait to get the dimensions of an image.
This trait provides an interface to get the width and height of an image. It should be
implemented along with IntoPixelIter
for full embedded-graphics integration.
Required methods
fn width(&self) -> u32
Get the width in pixels of an image
fn height(&self) -> u32
Get the height in pixels of an image
Implementations on Foreign Types
impl<'_, C, BO> ImageDimensions for ImageRaw<'_, C, BO> where
BO: ByteOrder,
C: PixelColor + From<<C as PixelColor>::Raw>,
[src]
Loading content...
BO: ByteOrder,
C: PixelColor + From<<C as PixelColor>::Raw>,