Skip to main content

ImageWidgetExt

Trait ImageWidgetExt 

Source
pub trait ImageWidgetExt {
    // Required method
    fn image(&self, path: &[LiveId]) -> ImageRef;
}

Required Methods§

Source

fn image(&self, path: &[LiveId]) -> ImageRef

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> ImageWidgetExt for T
where T: Widget,