#[repr(u8)]pub enum ColorLoopDirection {
Decrement = 0,
Increment = 1,
}Variants§
Decrement = 0
Decrement the hue in the color loop.
Increment = 1
Increment the hue in the color loop.
Implementations§
Trait Implementations§
Source§impl Clone for ColorLoopDirection
impl Clone for ColorLoopDirection
Source§fn clone(&self) -> ColorLoopDirection
fn clone(&self) -> ColorLoopDirection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ColorLoopDirection
impl Debug for ColorLoopDirection
Source§impl<'de> Deserialize<'de> for ColorLoopDirection
impl<'de> Deserialize<'de> for ColorLoopDirection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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 From<ColorLoopDirection> for u8
impl From<ColorLoopDirection> for u8
Source§fn from(val: ColorLoopDirection) -> Self
fn from(val: ColorLoopDirection) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ColorLoopDirection
impl PartialEq for ColorLoopDirection
Source§impl Serialize for ColorLoopDirection
impl Serialize for ColorLoopDirection
impl Copy for ColorLoopDirection
impl Eq for ColorLoopDirection
impl StructuralPartialEq for ColorLoopDirection
Auto Trait Implementations§
impl Freeze for ColorLoopDirection
impl RefUnwindSafe for ColorLoopDirection
impl Send for ColorLoopDirection
impl Sync for ColorLoopDirection
impl Unpin for ColorLoopDirection
impl UnwindSafe for ColorLoopDirection
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