pub trait ImageExt {
// Required methods
fn image_tint(self, c: Color) -> View;
fn image_fit(self, fit: ImageFit) -> View;
fn image_filter(self, filter: ImageFilter) -> View;
fn image_source_rect(self, source_rect: ImageSourceRect) -> View;
fn image_alignment(self, alignment: ImageAlignment) -> View;
}Required Methods§
fn image_tint(self, c: Color) -> View
fn image_fit(self, fit: ImageFit) -> View
fn image_filter(self, filter: ImageFilter) -> View
fn image_source_rect(self, source_rect: ImageSourceRect) -> View
fn image_alignment(self, alignment: ImageAlignment) -> View
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".