Enum sdl2::render::BlendMode
[−]
[src]
pub enum BlendMode { None, Blend, Add, Mod, }
Variants
None | |
Blend | |
Add | |
Mod |
pub enum BlendMode { None, Blend, Add, Mod, }
None | |
Blend | |
Add | |
Mod |
impl FromPrimitive for BlendMode
fn from_i64(n: i64) -> Option<BlendMode>
fn from_u64(n: u64) -> Option<BlendMode>
fn from_isize(n: isize) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
fn from_f32(n: f32) -> Option<Self>
fn from_f64(n: f64) -> Option<Self>
impl Debug for BlendMode
impl Hash for BlendMode
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
impl PartialEq for BlendMode
impl Eq for BlendMode
impl Clone for BlendMode
fn clone(&self) -> BlendMode
fn clone_from(&mut self, source: &Self)
impl Copy for BlendMode
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).
Search functions by type signature (e.g.
vec -> usize
)