Skip to main content

ImageExt

Trait ImageExt 

Source
pub trait ImageExt {
    // Required methods
    fn image_tint(self, c: Color) -> View;
    fn image_fit(self, fit: ImageFit) -> View;
}

Required Methods§

Source

fn image_tint(self, c: Color) -> View

Source

fn image_fit(self, fit: ImageFit) -> View

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl ImageExt for View

Source§

fn image_tint(self, c: Color) -> View

Source§

fn image_fit(self, fit: ImageFit) -> View

Implementors§