Enum raylib_sys::rlBlendMode
source · #[repr(u32)]pub enum rlBlendMode {
RL_BLEND_ALPHA = 0,
RL_BLEND_ADDITIVE = 1,
RL_BLEND_MULTIPLIED = 2,
RL_BLEND_ADD_COLORS = 3,
RL_BLEND_SUBTRACT_COLORS = 4,
RL_BLEND_ALPHA_PREMULTIPLY = 5,
RL_BLEND_CUSTOM = 6,
RL_BLEND_CUSTOM_SEPARATE = 7,
}
Variants§
RL_BLEND_ALPHA = 0
RL_BLEND_ADDITIVE = 1
RL_BLEND_MULTIPLIED = 2
RL_BLEND_ADD_COLORS = 3
RL_BLEND_SUBTRACT_COLORS = 4
RL_BLEND_ALPHA_PREMULTIPLY = 5
RL_BLEND_CUSTOM = 6
RL_BLEND_CUSTOM_SEPARATE = 7
Trait Implementations§
source§impl Clone for rlBlendMode
impl Clone for rlBlendMode
source§fn clone(&self) -> rlBlendMode
fn clone(&self) -> rlBlendMode
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 rlBlendMode
impl Debug for rlBlendMode
source§impl Hash for rlBlendMode
impl Hash for rlBlendMode
source§impl PartialEq for rlBlendMode
impl PartialEq for rlBlendMode
source§fn eq(&self, other: &rlBlendMode) -> bool
fn eq(&self, other: &rlBlendMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for rlBlendMode
impl Eq for rlBlendMode
impl StructuralPartialEq for rlBlendMode
Auto Trait Implementations§
impl Freeze for rlBlendMode
impl RefUnwindSafe for rlBlendMode
impl Send for rlBlendMode
impl Sync for rlBlendMode
impl Unpin for rlBlendMode
impl UnwindSafe for rlBlendMode
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