Skip to main content

Finish

Struct Finish 

Source
pub struct Finish {
Show 74 fields pub file: Option<String>, pub aberration: Option<f32>, pub angle: Option<f32>, pub black: Option<f32>, pub black_threshold: Option<f32>, pub bloom: Option<Bloom>, pub cavity: Option<f32>, pub cavity_distance: Option<f32>, pub cel_bands: Option<f32>, pub cel_shadow: Option<f32>, pub cel_softness: Option<f32>, pub cel_spec: Option<f32>, pub cel_spec_roughness: Option<f32>, pub cel_spec_threshold: Option<f32>, pub cel_threshold: Option<f32>, pub contrast: Option<f32>, pub crease_angle: Option<f32>, pub crush: Option<f32>, pub curvature: Option<f32>, pub darkening: Option<f32>, pub dither: Option<Dither>, pub dither_kind: Option<DitherKind>, pub distortion: Option<f32>, pub dot: Option<f32>, pub dust: Option<f32>, pub encode: Option<bool>, pub exposure: Option<f32>, pub flicker: Option<f32>, pub focus: Option<f32>, pub frame: Option<u32>, pub gain: Option<f32>, pub grain: Option<Grain>, pub halation: Option<f32>, pub highlight: Option<Color>, pub highlight_threshold: Option<f32>, pub ink: Option<Ink>, pub interior_line_strength: Option<f32>, pub keep: Option<Color>, pub keep_range: Option<f32>, pub levels: Option<f32>, pub line_weight: Option<f32>, pub lut: Option<Lut>, pub mask: Option<f32>, pub outline: Option<Outline>, pub outline_alpha: Option<f32>, pub outline_color: Option<Color>, pub outline_thickness: Option<f32>, pub palette: Option<bool>, pub paper_grain: Option<f32>, pub pixel: Option<u32>, pub posterize: Option<f32>, pub radius: Option<f32>, pub rim: Option<f32>, pub rim_color: Option<Color>, pub rim_width: Option<f32>, pub saturation: Option<f32>, pub saturation_lift: Option<f32>, pub scale: Option<f32>, pub scanlines: Option<f32>, pub scratches: Option<Scratches>, pub seed: Option<u32>, pub sepia: Option<f32>, pub shadow: Option<Color>, pub style: Option<Style>, pub tape: Option<Tape>, pub threshold: Option<f32>, pub tilt_range: Option<f32>, pub tone: Option<Tone>, pub tone_steps: Option<f32>, pub vignette: Option<Vignette>, pub warmth: Option<Warmth>, pub weave: Option<f32>, pub weights: Option<[f32; 3]>, pub pass: Vec<FinishKeys>,
}

Fields§

§file: Option<String>§aberration: Option<f32>§angle: Option<f32>§black: Option<f32>§black_threshold: Option<f32>§bloom: Option<Bloom>§cavity: Option<f32>§cavity_distance: Option<f32>§cel_bands: Option<f32>§cel_shadow: Option<f32>§cel_softness: Option<f32>§cel_spec: Option<f32>§cel_spec_roughness: Option<f32>§cel_spec_threshold: Option<f32>§cel_threshold: Option<f32>§contrast: Option<f32>§crease_angle: Option<f32>§crush: Option<f32>§curvature: Option<f32>§darkening: Option<f32>§dither: Option<Dither>§dither_kind: Option<DitherKind>§distortion: Option<f32>§dot: Option<f32>§dust: Option<f32>§encode: Option<bool>§exposure: Option<f32>§flicker: Option<f32>§focus: Option<f32>§frame: Option<u32>§gain: Option<f32>§grain: Option<Grain>§halation: Option<f32>§highlight: Option<Color>§highlight_threshold: Option<f32>§ink: Option<Ink>§interior_line_strength: Option<f32>§keep: Option<Color>§keep_range: Option<f32>§levels: Option<f32>§line_weight: Option<f32>§lut: Option<Lut>§mask: Option<f32>§outline: Option<Outline>§outline_alpha: Option<f32>§outline_color: Option<Color>§outline_thickness: Option<f32>§palette: Option<bool>§paper_grain: Option<f32>§pixel: Option<u32>§posterize: Option<f32>§radius: Option<f32>§rim: Option<f32>§rim_color: Option<Color>§rim_width: Option<f32>§saturation: Option<f32>§saturation_lift: Option<f32>§scale: Option<f32>§scanlines: Option<f32>§scratches: Option<Scratches>§seed: Option<u32>§sepia: Option<f32>§shadow: Option<Color>§style: Option<Style>§tape: Option<Tape>§threshold: Option<f32>§tilt_range: Option<f32>§tone: Option<Tone>§tone_steps: Option<f32>§vignette: Option<Vignette>§warmth: Option<Warmth>§weave: Option<f32>§weights: Option<[f32; 3]>§pass: Vec<FinishKeys>

Implementations§

Source§

impl Finish

Source

pub fn keys(&self) -> FinishKeys

Trait Implementations§

Source§

impl Clone for Finish

Source§

fn clone(&self) -> Finish

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for Finish

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Finish

Source§

fn default() -> Finish

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for Finish

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for Finish

Source§

fn eq(&self, other: &Finish) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for Finish

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for Finish

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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,