pub struct ColorTransformBuilder { /* private fields */ }
Implementations§
Source§impl ColorTransformBuilder
impl ColorTransformBuilder
pub fn set_detect_peak(&mut self, value: bool) -> &mut Self
pub fn set_srgb_icc(&mut self, value: bool) -> &mut Self
pub fn from_pq(&mut self, from_pq: bool) -> &mut Self
pub fn build( self, from: &ColorEncodingWithProfile, to: &ColorEncodingWithProfile, oim: &OpsinInverseMatrix, tone_mapping: &ToneMapping, ) -> Result<ColorTransform>
Trait Implementations§
Source§impl Debug for ColorTransformBuilder
impl Debug for ColorTransformBuilder
Auto Trait Implementations§
impl Freeze for ColorTransformBuilder
impl RefUnwindSafe for ColorTransformBuilder
impl Send for ColorTransformBuilder
impl Sync for ColorTransformBuilder
impl Unpin for ColorTransformBuilder
impl UnwindSafe for ColorTransformBuilder
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
Source§impl<T, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
impl<T, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
Source§fn default_with_context(_: Ctx) -> T
fn default_with_context(_: Ctx) -> T
Creates a default value with the given context.