pub struct BlendOp(/* private fields */);Expand description
Implementations§
Source§impl BlendOp
impl BlendOp
pub const ADD: Self
pub const SUBTRACT: Self
pub const REVERSE_SUBTRACT: Self
pub const MIN: Self
pub const MAX: Self
pub const ZERO: Self
pub const SRC: Self
pub const DST: Self
pub const SRC_OVER: Self
pub const DST_OVER: Self
pub const SRC_IN: Self
pub const DST_IN: Self
pub const SRC_OUT: Self
pub const DST_OUT: Self
pub const SRC_ATOP: Self
pub const DST_ATOP: Self
pub const XOR: Self
pub const MULTIPLY: Self
pub const SCREEN: Self
pub const OVERLAY: Self
pub const DARKEN: Self
pub const LIGHTEN: Self
pub const COLORDODGE: Self
pub const COLORBURN: Self
pub const HARDLIGHT: Self
pub const SOFTLIGHT: Self
pub const DIFFERENCE: Self
pub const EXCLUSION: Self
pub const INVERT: Self
pub const INVERT_RGB: Self
pub const LINEARDODGE: Self
pub const LINEARBURN: Self
pub const VIVIDLIGHT: Self
pub const LINEARLIGHT: Self
pub const PINLIGHT: Self
pub const HARDMIX: Self
pub const HSL_HUE: Self
pub const HSL_SATURATION: Self
pub const HSL_COLOR: Self
pub const HSL_LUMINOSITY: Self
pub const PLUS: Self
pub const PLUS_CLAMPED: Self
pub const PLUS_CLAMPED_ALPHA: Self
pub const PLUS_DARKER: Self
pub const MINUS: Self
pub const MINUS_CLAMPED: Self
pub const CONTRAST: Self
pub const INVERT_OVG: Self
pub const RED: Self
pub const GREEN: Self
pub const BLUE: Self
pub const fn from_raw(value: i32) -> Self
pub const fn as_raw(self) -> i32
Trait Implementations§
Source§impl Error for BlendOp
impl Error for BlendOp
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl Ord for BlendOp
impl Ord for BlendOp
Source§impl PartialOrd for BlendOp
impl PartialOrd for BlendOp
impl Copy for BlendOp
impl Eq for BlendOp
impl StructuralPartialEq for BlendOp
Auto Trait Implementations§
impl Freeze for BlendOp
impl RefUnwindSafe for BlendOp
impl Send for BlendOp
impl Sync for BlendOp
impl Unpin for BlendOp
impl UnsafeUnpin for BlendOp
impl UnwindSafe for BlendOp
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