pub struct ColourTemperature(pub i32);
Expand description
ColourTemperature of the frame, in kelvin.
ColourTemperature can only be applied in a Request when the AWB is disabled.
If ColourTemperature is set in a request but ColourGains is not, the implementation shall calculate and set the ColourGains based on the given ColourTemperature. If ColourTemperature is set (either directly, or indirectly by setting ColourGains) but ColourCorrectionMatrix is not, the ColourCorrectionMatrix is updated based on the ColourTemperature.
The ColourTemperature used to process the frame is reported in metadata.
\sa AwbEnable \sa ColourCorrectionMatrix \sa ColourGains
Tuple Fields§
§0: i32
Trait Implementations§
Source§impl Clone for ColourTemperature
impl Clone for ColourTemperature
Source§fn clone(&self) -> ColourTemperature
fn clone(&self) -> ColourTemperature
Returns a copy 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 ControlEntry for ColourTemperature
impl ControlEntry for ColourTemperature
Source§impl Debug for ColourTemperature
impl Debug for ColourTemperature
Source§impl Deref for ColourTemperature
impl Deref for ColourTemperature
Source§impl DerefMut for ColourTemperature
impl DerefMut for ColourTemperature
Source§impl From<ColourTemperature> for ControlValue
impl From<ColourTemperature> for ControlValue
Source§fn from(val: ColourTemperature) -> Self
fn from(val: ColourTemperature) -> Self
Converts to this type from the input type.
Source§impl TryFrom<ControlValue> for ColourTemperature
impl TryFrom<ControlValue> for ColourTemperature
Source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
impl Control for ColourTemperature
Auto Trait Implementations§
impl Freeze for ColourTemperature
impl RefUnwindSafe for ColourTemperature
impl Send for ColourTemperature
impl Sync for ColourTemperature
impl Unpin for ColourTemperature
impl UnwindSafe for ColourTemperature
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