pub struct DrawFloodOptions {
pub test: VipsImage,
pub equal: bool,
pub left: i32,
pub top: i32,
pub width: i32,
pub height: i32,
}
Expand description
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§
Source§impl Clone for DrawFloodOptions
impl Clone for DrawFloodOptions
Source§fn clone(&self) -> DrawFloodOptions
fn clone(&self) -> DrawFloodOptions
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DrawFloodOptions
impl Debug for DrawFloodOptions
Auto Trait Implementations§
impl Freeze for DrawFloodOptions
impl RefUnwindSafe for DrawFloodOptions
impl !Send for DrawFloodOptions
impl !Sync for DrawFloodOptions
impl Unpin for DrawFloodOptions
impl UnwindSafe for DrawFloodOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more