[][src]Struct rubidium::ColorSpecialEffect

#[repr(transparent)]pub struct ColorSpecialEffect(_);

The color special effects available via hardware on the GBA.

  • NoEffect: Does nothing, obviously.
  • AlphaBlend: Alpha blend between the two pixels targeted, see AlphaBlendValue.
  • IncreaseBrightness / DecreaseBrightness: Make the color brighter or darker, see BLDBRIGHT.

Methods

impl ColorSpecialEffect[src]

pub const NoEffect: Self[src]

pub const AlphaBlend: Self[src]

pub const IncreaseBrightness: Self[src]

pub const DecreaseBrightness: Self[src]

Trait Implementations

impl Clone for ColorSpecialEffect[src]

impl Copy for ColorSpecialEffect[src]

impl Debug for ColorSpecialEffect[src]

impl Default for ColorSpecialEffect[src]

impl Eq for ColorSpecialEffect[src]

impl PartialEq<ColorSpecialEffect> for ColorSpecialEffect[src]

impl StructuralEq for ColorSpecialEffect[src]

impl StructuralPartialEq for ColorSpecialEffect[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, 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.