pub struct RawAdjustments {Show 15 fields
pub enabled: bool,
pub exposure_stops: f32,
pub white_balance_kelvin: u16,
pub white_balance_tint: f32,
pub lift_r: f32,
pub lift_g: f32,
pub lift_b: f32,
pub gamma_r: f32,
pub gamma_g: f32,
pub gamma_b: f32,
pub gain_r: f32,
pub gain_g: f32,
pub gain_b: f32,
pub contrast: f32,
pub saturation: f32,
}Expand description
Per-file grading adjustments, stored as JSON sidecars alongside source MCRAW files. Each field defaults to “no-op” (0.0 or false) so that a file without a sidecar renders identically to the baked-in decode.
Fields§
§enabled: bool§exposure_stops: f32§white_balance_kelvin: u16§white_balance_tint: f32§lift_r: f32§lift_g: f32§lift_b: f32§gamma_r: f32§gamma_g: f32§gamma_b: f32§gain_r: f32§gain_g: f32§gain_b: f32§contrast: f32§saturation: f32Trait Implementations§
Source§impl Clone for RawAdjustments
impl Clone for RawAdjustments
Source§fn clone(&self) -> RawAdjustments
fn clone(&self) -> RawAdjustments
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RawAdjustments
impl Debug for RawAdjustments
Source§impl Default for RawAdjustments
impl Default for RawAdjustments
Source§impl<'de> Deserialize<'de> for RawAdjustments
impl<'de> Deserialize<'de> for RawAdjustments
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RawAdjustments
impl RefUnwindSafe for RawAdjustments
impl Send for RawAdjustments
impl Sync for RawAdjustments
impl Unpin for RawAdjustments
impl UnsafeUnpin for RawAdjustments
impl UnwindSafe for RawAdjustments
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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