Skip to main content

ImageWidgetRefExt

Trait ImageWidgetRefExt 

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

Required Methods§

Source

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

Source

fn as_image(&self) -> ImageRef

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§