Enum sdl2_sys::SDL_BlendFactor[][src]

#[repr(u32)]pub enum SDL_BlendFactor {
    SDL_BLENDFACTOR_ZERO,
    SDL_BLENDFACTOR_ONE,
    SDL_BLENDFACTOR_SRC_COLOR,
    SDL_BLENDFACTOR_ONE_MINUS_SRC_COLOR,
    SDL_BLENDFACTOR_SRC_ALPHA,
    SDL_BLENDFACTOR_ONE_MINUS_SRC_ALPHA,
    SDL_BLENDFACTOR_DST_COLOR,
    SDL_BLENDFACTOR_ONE_MINUS_DST_COLOR,
    SDL_BLENDFACTOR_DST_ALPHA,
    SDL_BLENDFACTOR_ONE_MINUS_DST_ALPHA,
}

\brief The normalized factor used to multiply pixel components

Variants

SDL_BLENDFACTOR_ZERO
SDL_BLENDFACTOR_ONE
SDL_BLENDFACTOR_SRC_COLOR
SDL_BLENDFACTOR_ONE_MINUS_SRC_COLOR
SDL_BLENDFACTOR_SRC_ALPHA
SDL_BLENDFACTOR_ONE_MINUS_SRC_ALPHA
SDL_BLENDFACTOR_DST_COLOR
SDL_BLENDFACTOR_ONE_MINUS_DST_COLOR
SDL_BLENDFACTOR_DST_ALPHA
SDL_BLENDFACTOR_ONE_MINUS_DST_ALPHA

Trait Implementations

impl Clone for SDL_BlendFactor[src]

impl Copy for SDL_BlendFactor[src]

impl Debug for SDL_BlendFactor[src]

impl Eq for SDL_BlendFactor[src]

impl Hash for SDL_BlendFactor[src]

impl PartialEq<SDL_BlendFactor> for SDL_BlendFactor[src]

impl StructuralEq for SDL_BlendFactor[src]

impl StructuralPartialEq for SDL_BlendFactor[src]

Auto Trait Implementations

impl RefUnwindSafe for SDL_BlendFactor

impl Send for SDL_BlendFactor

impl Sync for SDL_BlendFactor

impl Unpin for SDL_BlendFactor

impl UnwindSafe for SDL_BlendFactor

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.