Enum pixel_engine::PixelMode
source · pub enum PixelMode {
Normal,
Alpha,
Mask,
}
Expand description
The Drawing Mode used
Variants
Normal
Basic drawing mode The pixel data after the draw will be the same as the pixel given
Alpha
Using Alpha in the Draw, Will be more computaion heavy You should only activate when you need the alpha blending and then change it back
Mask
Will draw only if the alpha is equals to 255
Trait Implementations
impl Copy for PixelMode
impl Eq for PixelMode
impl StructuralEq for PixelMode
impl StructuralPartialEq for PixelMode
Auto Trait Implementations
impl RefUnwindSafe for PixelMode
impl Send for PixelMode
impl Sync for PixelMode
impl Unpin for PixelMode
impl UnwindSafe for PixelMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.