[][src]Enum tcod::console::BackgroundFlag

#[repr(u32)]
pub enum BackgroundFlag { None, Set, Multiply, Lighten, Darken, Screen, ColorDodge, ColorBurn, Add, AddA, Burn, Overlay, Alph, Default, }

This flag determines how a cell's existing background color will be modified by a new one

See libtcod's documentation for a detailed description of the different values.

Variants

NoneSetMultiplyLightenDarkenScreenColorDodgeColorBurnAddAddABurnOverlayAlphDefault

Trait Implementations

impl Copy for BackgroundFlag[src]

impl Clone for BackgroundFlag[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl From<BackgroundFlag> for TCOD_bkgnd_flag_t[src]

impl Debug for BackgroundFlag[src]

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for 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.

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

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

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