#[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: Rect
Coordinates of the mosaic
cell_sz: i32
Cell size (same for X, Y)
decim: i32
Decimation (0 stands for no decimation)
Implementations§
Trait Implementations§
source§impl PartialEq for Mosaic
impl PartialEq for Mosaic
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