Skip to main content

CroppedBitmapProps

Trait CroppedBitmapProps 

Source
pub trait CroppedBitmapProps: ElementBuilder {
    // Provided methods
    fn source<M>(self, value: impl IntoProp<Option<Rc<dyn IImage>>, M>) -> Self { ... }
    fn source_rect<M>(self, value: impl IntoProp<PixelRect, M>) -> Self { ... }
}
Expand description

The properties and routed events of CroppedBitmap.

Provided Methods§

Source

fn source<M>(self, value: impl IntoProp<Option<Rc<dyn IImage>>, M>) -> Self

Source

fn source_rect<M>(self, value: impl IntoProp<PixelRect, M>) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§