pub struct SensorInfo {
pub black: i32,
pub white: i32,
pub black_colors: &'static [i32],
pub iso_min: u32,
pub iso_max: u32,
pub iso_list: &'static [u32],
}Expand description
Per-ISO sensor levels.
Fields§
§black: i32§white: i32§black_colors: &'static [i32]Per-CFA-colour black levels (in CFA pattern order), if specified.
iso_min: u32ISO range this entry applies to (0 = unbounded).
iso_max: u32§iso_list: &'static [u32]Implementations§
Source§impl SensorInfo
impl SensorInfo
pub fn applies_to(&self, iso: u32) -> bool
Trait Implementations§
Source§impl Clone for SensorInfo
impl Clone for SensorInfo
impl Copy for SensorInfo
Source§impl Debug for SensorInfo
impl Debug for SensorInfo
Source§impl PartialEq for SensorInfo
impl PartialEq for SensorInfo
impl StructuralPartialEq for SensorInfo
Auto Trait Implementations§
impl Forget for SensorInfo
impl Freeze for SensorInfo
impl Move for SensorInfo
impl RefUnwindSafe for SensorInfo
impl Send for SensorInfo
impl Sync for SensorInfo
impl Unpin for SensorInfo
impl UnsafeUnpin for SensorInfo
impl UnwindSafe for SensorInfo
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