Struct libmosh::MoshOptions
source · [−]pub struct MoshOptions {
pub min_rate: u16,
pub max_rate: u16,
pub pixelation: u8,
pub line_shift: f64,
pub reverse: f64,
pub flip: f64,
pub channel_swap: f64,
pub channel_shift: 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: f64Chance of line shift.
reverse: f64Chance of reverse.
flip: f64Chance of flip.
channel_swap: f64Chance of channel swap.
channel_shift: f64Chance of channel shift.
seed: u64Random seed.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MoshOptions
impl Send for MoshOptions
impl Sync for MoshOptions
impl Unpin for MoshOptions
impl UnwindSafe for MoshOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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