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 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.