pub struct Options {
pub min_rate: u16,
pub max_rate: u16,
pub pixelation: u8,
pub line_shift_rng: f64,
pub reverse_rng: f64,
pub flip_rng: f64,
pub channel_swap_rng: f64,
pub channel_shift_rng: f64,
pub seed: u64,
}Expand description
Processing options
Minimal pixelation value is 1 (OFF).
Fields
min_rate: u16Minimal amount of chunks to process.
max_rate: u16Maximal amount of chunks to process.
pixelation: u8Pixelation’s intensity.
line_shift_rng: f64Chance of line shift.
reverse_rng: f64Chance of reverse.
flip_rng: f64Chance of flip.
channel_swap_rng: f64Chance of channel swap.
channel_shift_rng: f64Chance of channel shift.
seed: u64Random seed.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more