ImageBuilderExt

Trait ImageBuilderExt 

Source
pub trait ImageBuilderExt {
    // Required method
    fn scaled(
        self,
        width: i32,
        height: i32,
        proportional: bool,
        can_expand: bool,
    ) -> Self;
}
Expand description

Adds builder pattern friendly versions of several setter functions

Required Methods§

Source

fn scaled( self, width: i32, height: i32, proportional: bool, can_expand: bool, ) -> Self

Scales the image

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<I> ImageBuilderExt for I
where I: ImageExt,