Skip to main content

BLEND_MODE

Enum BLEND_MODE 

Source
#[repr(i32)]
pub enum BLEND_MODE {
Show 13 variants NONE = 0, ADD = 1, SUB = 2, MUL = 3, SCREEN = 4, OVERLAY = 5, LIGHT = 6, DARK = 7, BRIGHTNESS = 8, CHROMA = 9, SHADOW = 10, LIGHT_DARK = 11, DIFF = 12,
}
Expand description

合成モードの種別

Variants§

§

NONE = 0

通常

§

ADD = 1

加算

§

SUB = 2

減算

§

MUL = 3

乗算

§

SCREEN = 4

スクリーン

§

OVERLAY = 5

オーバーレイ

§

LIGHT = 6

比較(明)

§

DARK = 7

比較(暗)

§

BRIGHTNESS = 8

輝度

§

CHROMA = 9

色差

§

SHADOW = 10

陰影

§

LIGHT_DARK = 11

明暗

§

DIFF = 12

差分

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.