Trait i_slint_core::graphics::OpaqueImage

source ·
pub trait OpaqueImage {
    // Required methods
    fn size(&self) -> IntSize;
    fn cache_key(&self) -> ImageCacheKey;
}
Expand description

Note: Was generated from the #[vtable] macro on OpaqueImageVTable

Required Methods§

source

fn size(&self) -> IntSize

Returns the image size

source

fn cache_key(&self) -> ImageCacheKey

Returns a cache key

Implementors§