pub struct OptimizerConfig {
pub strength: f32,
pub seed: [u8; 32],
pub mode: OptimizerMode,
}Expand description
Configuration for the cover image optimizer.
Fields§
§strength: f32Strength multiplier (0.0–1.0). Default: 0.85.
seed: [u8; 32]ChaCha20 seed for deterministic noise generation.
mode: OptimizerModePipeline variant to apply.
Auto Trait Implementations§
impl Freeze for OptimizerConfig
impl RefUnwindSafe for OptimizerConfig
impl Send for OptimizerConfig
impl Sync for OptimizerConfig
impl Unpin for OptimizerConfig
impl UnsafeUnpin for OptimizerConfig
impl UnwindSafe for OptimizerConfig
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