Struct libcamera::controls::ColourTemperature
source · pub struct ColourTemperature(pub i32);
Expand description
Report the current estimate of the colour temperature, in kelvin, for this frame. The ColourTemperature control can only be returned in metadata.
Tuple Fields§
§0: i32
Methods from Deref<Target = i32>§
pub const MIN: i32 = -2_147_483_648i32
pub const MAX: i32 = 2_147_483_647i32
pub const BITS: u32 = 32u32
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)