#[repr(i32)]pub enum LayerFilterMode {
None = 0,
Transparent = 1,
Blend = 2,
Additive = 3,
AddAlpha = 4,
Modulate = 5,
Modulate2x = 6,
Count = 7,
}Expand description
Blending/filter mode for the layer
Variants§
None = 0
No blending
Transparent = 1
Alpha test transparency
Blend = 2
Alpha blending
Additive = 3
Additive blending
AddAlpha = 4
Additive alpha blending
Modulate = 5
Modulate (multiply) blending
Modulate2x = 6
Modulate 2x (brighten)
Count = 7
Trait Implementations§
Source§impl Clone for LayerFilterMode
impl Clone for LayerFilterMode
Source§fn clone(&self) -> LayerFilterMode
fn clone(&self) -> LayerFilterMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LayerFilterMode
Source§impl Debug for LayerFilterMode
impl Debug for LayerFilterMode
impl Eq for LayerFilterMode
Source§impl Hash for LayerFilterMode
impl Hash for LayerFilterMode
Source§impl PartialEq for LayerFilterMode
impl PartialEq for LayerFilterMode
impl StructuralPartialEq for LayerFilterMode
Auto Trait Implementations§
impl Freeze for LayerFilterMode
impl RefUnwindSafe for LayerFilterMode
impl Send for LayerFilterMode
impl Sync for LayerFilterMode
impl Unpin for LayerFilterMode
impl UnsafeUnpin for LayerFilterMode
impl UnwindSafe for LayerFilterMode
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