pub enum BlendMode {
Normal,
Multiply,
Screen,
Add,
}Expand description
P2-1.3 绘制混合模式(固定功能可实现子集)。
作用于后续的矩形族命令(Rect / BoxShadow / 渐变),配对
PopBlendMode 恢复。文字/图片/三角形当前固定 SrcOver。
Variants§
Trait Implementations§
impl Copy for BlendMode
impl Eq for BlendMode
impl StructuralPartialEq for BlendMode
Auto Trait Implementations§
impl Forget for BlendMode
impl Freeze for BlendMode
impl Move 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