pub trait Image {
// Required method
fn dimensions(&self, handle: &Handle) -> Size<u32>;
}
Expand description
A graphics backend that supports image rendering.
Required Methods§
sourcefn dimensions(&self, handle: &Handle) -> Size<u32>
fn dimensions(&self, handle: &Handle) -> Size<u32>
Returns the dimensions of the provided image.