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 moresourceimpl Debug for SDL_TextureModulate
impl Debug for SDL_TextureModulate
sourceimpl Hash for SDL_TextureModulate
impl Hash for SDL_TextureModulate
sourceimpl PartialEq<SDL_TextureModulate> for SDL_TextureModulate
impl PartialEq<SDL_TextureModulate> for SDL_TextureModulate
sourcefn eq(&self, other: &SDL_TextureModulate) -> bool
fn eq(&self, other: &SDL_TextureModulate) -> bool
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more