pub struct GaussianBlur {
pub std_deviation: f32,
pub n_decimations: usize,
pub kernel: [f32; 13],
pub kernel_size: u8,
pub edge_mode: EdgeMode,
}Expand description
A gaussian blur.
Fields§
§std_deviation: f32The standard deviation.
n_decimations: usizeNumber of 2× decimation levels to use (0 means no decimation, direct convolution).
kernel: [f32; 13]Pre-computed Gaussian kernel weights for the reduced blur.
Only the first kernel_size elements are valid.
kernel_size: u8Actual length of the kernel (rest is padding up to MAX_KERNEL_SIZE).
edge_mode: EdgeModeEdge mode for handling out-of-bounds sampling.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GaussianBlur
impl RefUnwindSafe for GaussianBlur
impl Send for GaussianBlur
impl Sync for GaussianBlur
impl Unpin for GaussianBlur
impl UnsafeUnpin for GaussianBlur
impl UnwindSafe for GaussianBlur
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