pub struct DebandConfig {
pub enabled: bool,
pub threshold: f32,
pub range: u32,
pub seed: u32,
}Expand description
Configuration for the debanding filter.
Fields§
§enabled: boolEnable/disable debanding.
threshold: f32Primary difference threshold (0.0-255.0, default: 64.0).
range: u32Sample range in pixels (default: 15).
seed: u32Random seed for deterministic offset generation.
Trait Implementations§
Source§impl Clone for DebandConfig
impl Clone for DebandConfig
Source§fn clone(&self) -> DebandConfig
fn clone(&self) -> DebandConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DebandConfig
impl Debug for DebandConfig
Auto Trait Implementations§
impl Freeze for DebandConfig
impl RefUnwindSafe for DebandConfig
impl Send for DebandConfig
impl Sync for DebandConfig
impl Unpin for DebandConfig
impl UnsafeUnpin for DebandConfig
impl UnwindSafe for DebandConfig
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