[][src]Enum huelib::CoordinateModifierType

pub enum CoordinateModifierType {
    Override,
    Increment,
    Decrement,
    IncrementDecrement,
    DecrementIncrement,
}

Type of a modifier for coordinates.

Variants

Override

Override both current values with the given values.

Increment

Add the given values to the current values.

Decrement

Subtract the given values to the current values.

IncrementDecrement

Add the given value for the first coordinate to the current value of the first coordinate and subtract the given value for the second coordinate to the current value of the second coordinate.

DecrementIncrement

Subtract the given value for the first coordinate to the current value of the first coordinate and add the given value for the second coordinate to the current value of the second coordinate.

Trait Implementations

impl Clone for CoordinateModifierType[src]

impl Copy for CoordinateModifierType[src]

impl Debug for CoordinateModifierType[src]

impl Eq for CoordinateModifierType[src]

impl PartialEq<CoordinateModifierType> for CoordinateModifierType[src]

impl StructuralEq for CoordinateModifierType[src]

impl StructuralPartialEq for CoordinateModifierType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.