[][src]Enum sdl2_sys::SDL_TextureModulate

#[repr(u32)]pub enum SDL_TextureModulate {
    SDL_TEXTUREMODULATE_NONE,
    SDL_TEXTUREMODULATE_COLOR,
    SDL_TEXTUREMODULATE_ALPHA,
}

\brief The texture channel modulation used in SDL_RenderCopy().

Variants

SDL_TEXTUREMODULATE_NONE

< No modulation

SDL_TEXTUREMODULATE_COLOR

< srcC = srcC * color

SDL_TEXTUREMODULATE_ALPHA

< srcA = srcA * alpha

Trait Implementations

impl Clone for SDL_TextureModulate[src]

impl Copy for SDL_TextureModulate[src]

impl Debug for SDL_TextureModulate[src]

impl Eq for SDL_TextureModulate[src]

impl Hash for SDL_TextureModulate[src]

impl PartialEq<SDL_TextureModulate> for SDL_TextureModulate[src]

impl StructuralEq for SDL_TextureModulate[src]

impl StructuralPartialEq for SDL_TextureModulate[src]

Auto Trait Implementations

impl Send for SDL_TextureModulate

impl Sync for SDL_TextureModulate

impl Unpin for SDL_TextureModulate

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.