Enum rusty_spine::BlendMode
source · pub enum BlendMode {
Normal = 0,
Additive = 1,
Multiply = 2,
Screen = 3,
}
Expand description
The variants of blend modes supported by Spine.
Variants§
Trait Implementations§
source§impl From<u32> for BlendMode
impl From<u32> for BlendMode
source§fn from(attachment_type: spBlendMode) -> Self
fn from(attachment_type: spBlendMode) -> Self
Converts to this type from the input type.
source§impl PartialEq for BlendMode
impl PartialEq for BlendMode
impl Copy for BlendMode
impl Eq for BlendMode
impl StructuralPartialEq for BlendMode
Auto Trait Implementations§
impl Freeze for BlendMode
impl RefUnwindSafe for BlendMode
impl Send for BlendMode
impl Sync for BlendMode
impl Unpin for BlendMode
impl UnwindSafe for BlendMode
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