Struct fermium::renderer::SDL_TextureModulate
source · #[repr(transparent)]pub struct SDL_TextureModulate(pub i32);
Expand description
The texture channel modulation used in SDL_RenderCopy
See SDL_TEXTUREMODULATE_*
constants.
Tuple Fields§
§0: i32
Trait Implementations§
source§impl Clone for SDL_TextureModulate
impl Clone for SDL_TextureModulate
source§fn clone(&self) -> SDL_TextureModulate
fn clone(&self) -> SDL_TextureModulate
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SDL_TextureModulate
impl Debug for SDL_TextureModulate
source§impl Default for SDL_TextureModulate
impl Default for SDL_TextureModulate
source§fn default() -> SDL_TextureModulate
fn default() -> SDL_TextureModulate
Returns the “default value” for a type. Read more
source§impl Hash for SDL_TextureModulate
impl Hash for SDL_TextureModulate
source§impl Ord for SDL_TextureModulate
impl Ord for SDL_TextureModulate
source§fn cmp(&self, other: &SDL_TextureModulate) -> Ordering
fn cmp(&self, other: &SDL_TextureModulate) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<SDL_TextureModulate> for SDL_TextureModulate
impl PartialEq<SDL_TextureModulate> for SDL_TextureModulate
source§fn eq(&self, other: &SDL_TextureModulate) -> bool
fn eq(&self, other: &SDL_TextureModulate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SDL_TextureModulate> for SDL_TextureModulate
impl PartialOrd<SDL_TextureModulate> for SDL_TextureModulate
source§fn partial_cmp(&self, other: &SDL_TextureModulate) -> Option<Ordering>
fn partial_cmp(&self, other: &SDL_TextureModulate) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more