[][src]Struct libvips::ops::DrawFloodOptions

pub struct DrawFloodOptions {
    pub test: VipsImage,
    pub equal: bool,
    pub left: i32,
    pub top: i32,
    pub width: i32,
    pub height: i32,
}

Options for draw_flood operation

Fields

test: VipsImage

test: VipsImage -> Test pixels in this image

equal: bool

equal: bool -> DrawFlood while equal to edge default: false

left: i32

left: i32 -> Left edge of modified area min: 0, max: 1000000000, default: 0

top: i32

top: i32 -> top edge of modified area min: 0, max: 1000000000, default: 0

width: i32

width: i32 -> width of modified area min: 0, max: 1000000000, default: 0

height: i32

height: i32 -> height of modified area min: 0, max: 1000000000, default: 0

Trait Implementations

impl Clone for DrawFloodOptions[src]

impl Debug for DrawFloodOptions[src]

impl Default for DrawFloodOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.