Enum kolorwheel::SpinMode
source · pub enum SpinMode<'m> {
Still,
Absolute(i32),
RelativeIncl(i32),
RelativeExcl(i32),
Offset(&'m [i32]),
}
Expand description
Change modes to be applied on H/S/L channels
Variants§
Still
Don’t change the value (default)
Absolute(i32)
Set absolute goal value
RelativeIncl(i32)
Set relative goal value, the last step of the current round
RelativeExcl(i32)
Set relative goal value, the first step of the next round
Offset(&'m [i32])
List (slice) of values which the result will be offseted with, in round-robin fashion
Auto Trait Implementations§
impl<'m> RefUnwindSafe for SpinMode<'m>
impl<'m> Send for SpinMode<'m>
impl<'m> Sync for SpinMode<'m>
impl<'m> Unpin for SpinMode<'m>
impl<'m> UnwindSafe for SpinMode<'m>
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