#[non_exhaustive]pub struct DngProfileInfo {
pub name: Option<String>,
pub embed_policy: Option<u32>,
pub hue_sat_map_dims: Option<[u32; 3]>,
pub hue_sat_map_count: u8,
pub look_table_dims: Option<[u32; 3]>,
pub tone_curve: bool,
pub baseline_exposure_offset: Option<f64>,
}Expand description
DNG camera-profile tags an editor needs to know about (presence and sizes; the tables themselves are not decoded).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<String>ProfileName.
embed_policy: Option<u32>ProfileEmbedPolicy (0 allow copying … 3 no restrictions).
hue_sat_map_dims: Option<[u32; 3]>ProfileHueSatMapDims [hue, sat, val] when HueSatMap data exists.
hue_sat_map_count: u8Number of ProfileHueSatMapData tables present (0..=3).
look_table_dims: Option<[u32; 3]>ProfileLookTableDims [hue, sat, val] when ProfileLookTableData exists.
tone_curve: boolWhether ProfileToneCurve is present.
baseline_exposure_offset: Option<f64>BaselineExposureOffset (stops).
Trait Implementations§
Source§impl Clone for DngProfileInfo
impl Clone for DngProfileInfo
Source§impl Debug for DngProfileInfo
impl Debug for DngProfileInfo
Source§impl Default for DngProfileInfo
impl Default for DngProfileInfo
Source§impl PartialEq for DngProfileInfo
impl PartialEq for DngProfileInfo
impl StructuralPartialEq for DngProfileInfo
Auto Trait Implementations§
impl Freeze for DngProfileInfo
impl RefUnwindSafe for DngProfileInfo
impl Send for DngProfileInfo
impl Sync for DngProfileInfo
impl Unpin for DngProfileInfo
impl UnsafeUnpin for DngProfileInfo
impl UnwindSafe for DngProfileInfo
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more