Enum sdl2_sys::SDL_TextureModulate
source · [−]#[repr(u32)]
pub enum SDL_TextureModulate {
SDL_TEXTUREMODULATE_NONE,
SDL_TEXTUREMODULATE_COLOR,
SDL_TEXTUREMODULATE_ALPHA,
}
Expand description
\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
sourceimpl Clone for SDL_TextureModulate
impl Clone for SDL_TextureModulate
sourcefn clone(&self) -> SDL_TextureModulate
fn clone(&self) -> SDL_TextureModulate
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SDL_TextureModulate
impl Debug for SDL_TextureModulate
sourceimpl Hash for SDL_TextureModulate
impl Hash for SDL_TextureModulate
impl Copy for SDL_TextureModulate
impl Eq for SDL_TextureModulate
impl StructuralEq for SDL_TextureModulate
impl StructuralPartialEq for SDL_TextureModulate
Auto Trait Implementations
impl RefUnwindSafe for SDL_TextureModulate
impl Send for SDL_TextureModulate
impl Sync for SDL_TextureModulate
impl Unpin for SDL_TextureModulate
impl UnwindSafe for SDL_TextureModulate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more