pub struct SensorBlackLevels(pub [i32; 4]);
Expand description
Reports the sensor black levels used for processing a frame.
The values are in the order R, Gr, Gb, B. They are returned as numbers out of a 16-bit pixel range (as if pixels ranged from 0 to 65535). The SensorBlackLevels control can only be returned in metadata.
Tuple Fields§
§0: [i32; 4]
Trait Implementations§
Source§impl Clone for SensorBlackLevels
impl Clone for SensorBlackLevels
Source§fn clone(&self) -> SensorBlackLevels
fn clone(&self) -> SensorBlackLevels
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 SensorBlackLevels
impl ControlEntry for SensorBlackLevels
Source§impl Debug for SensorBlackLevels
impl Debug for SensorBlackLevels
Source§impl Deref for SensorBlackLevels
impl Deref for SensorBlackLevels
Source§impl DerefMut for SensorBlackLevels
impl DerefMut for SensorBlackLevels
Source§impl From<SensorBlackLevels> for ControlValue
impl From<SensorBlackLevels> for ControlValue
Source§fn from(val: SensorBlackLevels) -> Self
fn from(val: SensorBlackLevels) -> Self
Converts to this type from the input type.
Source§impl TryFrom<ControlValue> for SensorBlackLevels
impl TryFrom<ControlValue> for SensorBlackLevels
Source§type Error = ControlValueError
type Error = ControlValueError
The type returned in the event of a conversion error.
impl Control for SensorBlackLevels
Auto Trait Implementations§
impl Freeze for SensorBlackLevels
impl RefUnwindSafe for SensorBlackLevels
impl Send for SensorBlackLevels
impl Sync for SensorBlackLevels
impl Unpin for SensorBlackLevels
impl UnwindSafe for SensorBlackLevels
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