pub enum AdjustmentLayer {
Show 16 variants
Brightness(BrightnessAdjustment),
Levels(LevelsAdjustment),
Curves(CurvesAdjustment),
Exposure(ExposureAdjustment),
Vibrance(VibranceAdjustment),
HueSaturation(HueSaturationAdjustment),
ColorBalance(ColorBalanceAdjustment),
BlackAndWhite(BlackAndWhiteAdjustment),
PhotoFilter(PhotoFilterAdjustment),
ChannelMixer(ChannelMixerAdjustment),
ColorLookup(ColorLookupAdjustment),
Invert(InvertAdjustment),
Posterize(PosterizeAdjustment),
Threshold(ThresholdAdjustment),
GradientMap(GradientMapAdjustment),
SelectiveColor(SelectiveColorAdjustment),
}Expand description
TS AdjustmentLayer union (the type tag is encoded by the variant).
Variants§
Brightness(BrightnessAdjustment)
“brightness/contrast”
Levels(LevelsAdjustment)
“levels”
Curves(CurvesAdjustment)
“curves”
Exposure(ExposureAdjustment)
“exposure”
Vibrance(VibranceAdjustment)
“vibrance”
HueSaturation(HueSaturationAdjustment)
“hue/saturation”
ColorBalance(ColorBalanceAdjustment)
“color balance”
BlackAndWhite(BlackAndWhiteAdjustment)
“black & white”
PhotoFilter(PhotoFilterAdjustment)
“photo filter”
ChannelMixer(ChannelMixerAdjustment)
“channel mixer”
ColorLookup(ColorLookupAdjustment)
“color lookup”
Invert(InvertAdjustment)
“invert”
Posterize(PosterizeAdjustment)
“posterize”
Threshold(ThresholdAdjustment)
“threshold”
GradientMap(GradientMapAdjustment)
“gradient map”
SelectiveColor(SelectiveColorAdjustment)
“selective color”
Trait Implementations§
Source§impl Clone for AdjustmentLayer
impl Clone for AdjustmentLayer
Source§fn clone(&self) -> AdjustmentLayer
fn clone(&self) -> AdjustmentLayer
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 moreAuto Trait Implementations§
impl Freeze for AdjustmentLayer
impl RefUnwindSafe for AdjustmentLayer
impl Send for AdjustmentLayer
impl Sync for AdjustmentLayer
impl Unpin for AdjustmentLayer
impl UnsafeUnpin for AdjustmentLayer
impl UnwindSafe for AdjustmentLayer
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