pub trait SimpleWBTrait: SimpleWBTraitConst + WhiteBalancerTrait {
    // Required method
    fn as_raw_mut_SimpleWB(&mut self) -> *mut c_void;

    // Provided methods
    fn set_input_min(&mut self, val: f32) -> Result<()> { ... }
    fn set_input_max(&mut self, val: f32) -> Result<()> { ... }
    fn set_output_min(&mut self, val: f32) -> Result<()> { ... }
    fn set_output_max(&mut self, val: f32) -> Result<()> { ... }
    fn set_p(&mut self, val: f32) -> Result<()> { ... }
}
Expand description

Mutable methods for crate::xphoto::SimpleWB

Required Methods§

Provided Methods§

source

fn set_input_min(&mut self, val: f32) -> Result<()>

Input image range minimum value

See also

setInputMin getInputMin

source

fn set_input_max(&mut self, val: f32) -> Result<()>

Input image range maximum value

See also

setInputMax getInputMax

source

fn set_output_min(&mut self, val: f32) -> Result<()>

Output image range minimum value

See also

setOutputMin getOutputMin

source

fn set_output_max(&mut self, val: f32) -> Result<()>

Output image range maximum value

See also

setOutputMax getOutputMax

source

fn set_p(&mut self, val: f32) -> Result<()>

Percent of top/bottom values to ignore

See also

setP getP

Object Safety§

This trait is not object safe.

Implementors§