pub struct PSFPolisher(/* private fields */);Expand description
Swap sample points to smooth away point-spread function artifacts.
Can be used as the .polish_psf() method.
Implementations§
Source§impl PSFPolisher
impl PSFPolisher
Sourcepub const fn new(
threshold: f64,
swap_value: f64,
mode: DisplayMode,
) -> PSFPolisher
pub const fn new( threshold: f64, swap_value: f64, mode: DisplayMode, ) -> PSFPolisher
Create a new instance of the modifier.
Trait Implementations§
Source§impl Debug for PSFPolisher
impl Debug for PSFPolisher
Auto Trait Implementations§
impl Freeze for PSFPolisher
impl RefUnwindSafe for PSFPolisher
impl Send for PSFPolisher
impl Sync for PSFPolisher
impl Unpin for PSFPolisher
impl UnwindSafe for PSFPolisher
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