#[non_exhaustive]#[repr(u8)]pub enum BlendMode {
Normal = 0,
Multiply = 1,
Screen = 2,
Overlay = 3,
Darken = 4,
Lighten = 5,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
impl Copy for BlendMode
Source§impl DeferredValue for BlendMode
impl DeferredValue for BlendMode
fn eval_deferred( deferred: &Deferred<Self>, node_id: NodeId, property_path: &str, ctx: &ExpressionContext<'_>, ) -> Result<Self, LumenError>
fn to_property_value(value: &Self) -> PropertyValue
fn from_property_value(value: PropertyValue) -> Option<Self>
fn property_kind_name() -> &'static str
Source§impl Delegated for BlendMode
impl Delegated for BlendMode
type Delegate = BlendModeDelegate
fn into_delegate(self) -> Self::Delegate
impl Eq for BlendMode
Source§impl From<BlendMode> for BlendModeDelegate
impl From<BlendMode> for BlendModeDelegate
Source§impl NodeParamType for BlendMode
impl NodeParamType for BlendMode
fn property_kind() -> PropertyKind
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 UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.