pub struct GradeSliders {
pub exposure: f32,
pub contrast: f32,
pub saturation: f32,
pub shadows: f32,
pub highlights: f32,
pub temperature: f32,
pub tint: f32,
pub sharpen: f32,
}Fields§
§exposure: f32§contrast: f32§saturation: f32§shadows: f32§highlights: f32§temperature: f32§tint: f32§sharpen: f32Implementations§
Source§impl GradeSliders
impl GradeSliders
pub fn name(index: usize) -> &'static str
pub fn default_val(index: usize) -> f32
pub fn min(index: usize) -> f32
pub fn max(index: usize) -> f32
pub fn step_small(index: usize) -> f32
pub fn step_large(index: usize) -> f32
pub fn value(&self, index: usize) -> f32
pub fn normalized(&self, index: usize) -> f32
pub fn display_value(&self, index: usize) -> String
pub fn set(&mut self, index: usize, v: f32)
pub fn apply_delta(&mut self, index: usize, step: f32)
pub fn count() -> usize
Trait Implementations§
Source§impl Clone for GradeSliders
impl Clone for GradeSliders
Source§fn clone(&self) -> GradeSliders
fn clone(&self) -> GradeSliders
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 moreimpl Copy for GradeSliders
Source§impl Debug for GradeSliders
impl Debug for GradeSliders
Auto Trait Implementations§
impl Freeze for GradeSliders
impl RefUnwindSafe for GradeSliders
impl Send for GradeSliders
impl Sync for GradeSliders
impl Unpin for GradeSliders
impl UnsafeUnpin for GradeSliders
impl UnwindSafe for GradeSliders
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> 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