Trait cosmic::iced_widget::renderer::graphics::backend::Image

source ·
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.

Implementations on Foreign Types§

source§

impl Image for Backend

source§

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

Implementors§