pub trait Image {
    // Required method
    fn dimensions(&self, handle: &Handle) -> Size<u32>;
}
Expand description

A graphics backend that supports image rendering.

Required Methods§

source

fn dimensions(&self, handle: &Handle) -> Size<u32>

Returns the dimensions of the provided image.

Implementors§