pub enum DynamicProperty {
Exposure(SharedValue<f64>),
Contrast(SharedValue<f64>),
Gamma(SharedValue<f64>),
GradingPrimary(SharedValue<GradingPrimary>),
GradingRgbCurve(SharedValue<GradingRgbCurve>),
GradingTone(SharedValue<GradingTone>),
GradingHueCurve(SharedValue<GradingHueCurve>),
}Expand description
Handle to a dynamic property.
Variants§
Exposure(SharedValue<f64>)
Exposure (ExposureContrastTransform).
Contrast(SharedValue<f64>)
Contrast (ExposureContrastTransform).
Gamma(SharedValue<f64>)
Gamma (ExposureContrastTransform).
GradingPrimary(SharedValue<GradingPrimary>)
Grading primary values (GradingPrimaryTransform).
GradingRgbCurve(SharedValue<GradingRgbCurve>)
Grading RGB curves (GradingRGBCurveTransform).
GradingTone(SharedValue<GradingTone>)
Grading tone values (GradingToneTransform).
GradingHueCurve(SharedValue<GradingHueCurve>)
Grading hue curves (GradingHueCurveTransform).
Implementations§
Source§impl DynamicProperty
impl DynamicProperty
Sourcepub fn property_type(&self) -> DynamicPropertyType
pub fn property_type(&self) -> DynamicPropertyType
The type of the property.
Sourcepub fn as_double(&self) -> Option<&SharedValue<f64>>
pub fn as_double(&self) -> Option<&SharedValue<f64>>
Double value for exposure / contrast / gamma properties.
Sourcepub fn as_grading_primary(&self) -> Option<&SharedValue<GradingPrimary>>
pub fn as_grading_primary(&self) -> Option<&SharedValue<GradingPrimary>>
Value of a grading primary property.
Sourcepub fn as_grading_rgb_curve(&self) -> Option<&SharedValue<GradingRgbCurve>>
pub fn as_grading_rgb_curve(&self) -> Option<&SharedValue<GradingRgbCurve>>
Value of a grading RGB curve property.
Sourcepub fn as_grading_tone(&self) -> Option<&SharedValue<GradingTone>>
pub fn as_grading_tone(&self) -> Option<&SharedValue<GradingTone>>
Value of a grading tone property.
Sourcepub fn as_grading_hue_curve(&self) -> Option<&SharedValue<GradingHueCurve>>
pub fn as_grading_hue_curve(&self) -> Option<&SharedValue<GradingHueCurve>>
Value of a grading hue curve property.
Trait Implementations§
Source§impl Clone for DynamicProperty
impl Clone for DynamicProperty
Auto Trait Implementations§
impl Forget for DynamicProperty
impl Freeze for DynamicProperty
impl Move for DynamicProperty
impl RefUnwindSafe for DynamicProperty
impl Send for DynamicProperty
impl Sync for DynamicProperty
impl Unpin for DynamicProperty
impl UnsafeUnpin for DynamicProperty
impl UnwindSafe for DynamicProperty
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