libraw_colordata_t

Struct libraw_colordata_t 

Source
#[repr(C)]
pub struct libraw_colordata_t {
Show 35 fields pub curve: [ushort; 65536], pub cblack: [c_uint; 4104], pub black: c_uint, pub data_maximum: c_uint, pub maximum: c_uint, pub linear_max: [c_long; 4], pub fmaximum: f32, pub fnorm: f32, pub white: [[ushort; 8]; 8], pub cam_mul: [f32; 4], pub pre_mul: [f32; 4], pub cmatrix: [[f32; 4]; 3], pub ccm: [[f32; 4]; 3], pub rgb_cam: [[f32; 4]; 3], pub cam_xyz: [[f32; 3]; 4], pub phase_one_data: ph1_t, pub flash_used: f32, pub canon_ev: f32, pub model2: [c_char; 64], pub UniqueCameraModel: [c_char; 64], pub LocalizedCameraModel: [c_char; 64], pub ImageUniqueID: [c_char; 64], pub RawDataUniqueID: [c_char; 17], pub OriginalRawFileName: [c_char; 64], pub profile: *mut c_void, pub profile_length: c_uint, pub black_stat: [c_uint; 8], pub dng_color: [libraw_dng_color_t; 2], pub dng_levels: libraw_dng_levels_t, pub WB_Coeffs: [[c_int; 4]; 256], pub WBCT_Coeffs: [[f32; 5]; 64], pub as_shot_wb_applied: c_int, pub P1_color: [libraw_P1_color_t; 2], pub raw_bps: c_uint, pub ExifColorSpace: c_int,
}

Fields§

§curve: [ushort; 65536]§cblack: [c_uint; 4104]§black: c_uint§data_maximum: c_uint§maximum: c_uint§linear_max: [c_long; 4]§fmaximum: f32§fnorm: f32§white: [[ushort; 8]; 8]§cam_mul: [f32; 4]§pre_mul: [f32; 4]§cmatrix: [[f32; 4]; 3]§ccm: [[f32; 4]; 3]§rgb_cam: [[f32; 4]; 3]§cam_xyz: [[f32; 3]; 4]§phase_one_data: ph1_t§flash_used: f32§canon_ev: f32§model2: [c_char; 64]§UniqueCameraModel: [c_char; 64]§LocalizedCameraModel: [c_char; 64]§ImageUniqueID: [c_char; 64]§RawDataUniqueID: [c_char; 17]§OriginalRawFileName: [c_char; 64]§profile: *mut c_void§profile_length: c_uint§black_stat: [c_uint; 8]§dng_color: [libraw_dng_color_t; 2]§dng_levels: libraw_dng_levels_t§WB_Coeffs: [[c_int; 4]; 256]§WBCT_Coeffs: [[f32; 5]; 64]§as_shot_wb_applied: c_int§P1_color: [libraw_P1_color_t; 2]§raw_bps: c_uint§ExifColorSpace: c_int

Trait Implementations§

Source§

impl Clone for libraw_colordata_t

Source§

fn clone(&self) -> libraw_colordata_t

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for libraw_colordata_t

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.