pub struct RenderIntent {
pub grayscale_mode: GrayscaleMode,
pub dither: DitherMode,
pub contrast_boost: u8,
}Expand description
Theme-aware render intent.
Fields§
§grayscale_mode: GrayscaleModeConvert output to grayscale mode.
dither: DitherModeOptional dithering algorithm.
contrast_boost: u8Contrast multiplier in percent (100 = neutral).
Trait Implementations§
Source§impl Clone for RenderIntent
impl Clone for RenderIntent
Source§fn clone(&self) -> RenderIntent
fn clone(&self) -> RenderIntent
Returns a duplicate of the value. Read more
1.0.0 · 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 RenderIntent
impl Debug for RenderIntent
Source§impl Default for RenderIntent
impl Default for RenderIntent
Source§impl PartialEq for RenderIntent
impl PartialEq for RenderIntent
impl Copy for RenderIntent
impl Eq for RenderIntent
impl StructuralPartialEq for RenderIntent
Auto Trait Implementations§
impl Freeze for RenderIntent
impl RefUnwindSafe for RenderIntent
impl Send for RenderIntent
impl Sync for RenderIntent
impl Unpin for RenderIntent
impl UnsafeUnpin for RenderIntent
impl UnwindSafe for RenderIntent
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