#[repr(C)]pub struct Noise {
    pub size: f32,
    pub intensity: f32,
    pub octaves: i32,
    pub seed: i32,
}Expand description
Noise specific settings.
These settings can help to add some artifacts to the kernel, to replicate more natural-like bokeh’s.
Fields§
§size: f32Size of the noise pattern
intensity: f32Intensity of the noise
octaves: i32Number of octaves for noise generation
seed: i32Random seed for noise generation
Trait Implementations§
impl Copy for Noise
Auto Trait Implementations§
impl Freeze for Noise
impl RefUnwindSafe for Noise
impl Send for Noise
impl Sync for Noise
impl Unpin for Noise
impl UnwindSafe for Noise
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more