pub struct GaussnoiseOptions {
pub sigma: f64,
pub mean: f64,
pub seed: i32,
}
Expand description
Options for gaussnoise operation
Fields§
§sigma: f64
sigma: f64
-> Standard deviation of pixels in generated image
min: 0, max: 100000, default: 30
mean: f64
mean: f64
-> Mean of pixels in generated image
min: -10000000, max: 1000000, default: 128
seed: i32
seed: i32
-> Random number seed
min: -2147483648, max: 2147483647, default: 0
Trait Implementations§
Source§impl Clone for GaussnoiseOptions
impl Clone for GaussnoiseOptions
Source§fn clone(&self) -> GaussnoiseOptions
fn clone(&self) -> GaussnoiseOptions
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 GaussnoiseOptions
impl Debug for GaussnoiseOptions
Auto Trait Implementations§
impl Freeze for GaussnoiseOptions
impl RefUnwindSafe for GaussnoiseOptions
impl Send for GaussnoiseOptions
impl Sync for GaussnoiseOptions
impl Unpin for GaussnoiseOptions
impl UnwindSafe for GaussnoiseOptions
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