pub struct MaskGammaCorrection(/* private fields */);Expand description
One luminance class’s coverage correction, resolved once per glyph so its pixels only index a table.
Implementations§
Source§impl MaskGammaCorrection
impl MaskGammaCorrection
Sourcepub fn apply_unit(self, coverage: f32) -> f32
pub fn apply_unit(self, coverage: f32) -> f32
Self::apply as a unit coverage.
Trait Implementations§
Source§impl Clone for MaskGammaCorrection
impl Clone for MaskGammaCorrection
impl Copy for MaskGammaCorrection
Auto Trait Implementations§
impl Freeze for MaskGammaCorrection
impl RefUnwindSafe for MaskGammaCorrection
impl Send for MaskGammaCorrection
impl Sync for MaskGammaCorrection
impl Unpin for MaskGammaCorrection
impl UnsafeUnpin for MaskGammaCorrection
impl UnwindSafe for MaskGammaCorrection
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