#[repr(C)]pub struct Mosaic {
pub mos: Rect,
pub cell_sz: i32,
pub decim: i32,
}Expand description
This structure represents a mosaicing operation.
Mosaicing is a very basic method to obfuscate regions in the image.
Fields§
§mos: RectCoordinates of the mosaic
cell_sz: i32Cell size (same for X, Y)
decim: i32Decimation (0 stands for no decimation)
Implementations§
Trait Implementations§
impl Copy for Mosaic
impl StructuralPartialEq for Mosaic
Auto Trait Implementations§
impl Freeze for Mosaic
impl RefUnwindSafe for Mosaic
impl Send for Mosaic
impl Sync for Mosaic
impl Unpin for Mosaic
impl UnwindSafe for Mosaic
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