[−][src]Enum sdl2_sys::SDL_BlendFactor
\brief The normalized factor used to multiply pixel components
Variants
< 0, 0, 0, 0
< 1, 1, 1, 1
< srcR, srcG, srcB, srcA
< 1-srcR, 1-srcG, 1-srcB, 1-srcA
< srcA, srcA, srcA, srcA
< 1-srcA, 1-srcA, 1-srcA, 1-srcA
< dstR, dstG, dstB, dstA
< 1-dstR, 1-dstG, 1-dstB, 1-dstA
< dstA, dstA, dstA, dstA
< 1-dstA, 1-dstA, 1-dstA, 1-dstA
Trait Implementations
impl Clone for SDL_BlendFactor
[src]
fn clone(&self) -> SDL_BlendFactor
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<SDL_BlendFactor> for SDL_BlendFactor
[src]
fn eq(&self, other: &SDL_BlendFactor) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for SDL_BlendFactor
[src]
impl StructuralPartialEq for SDL_BlendFactor
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,