pub struct PaintLayer { /* private fields */ }Expand description
The paint layer with blending and opacity.
Implementations§
Source§impl PaintLayer
impl PaintLayer
Sourcepub fn blend_mode(self, blend_mode: BlendMode) -> Self
pub fn blend_mode(self, blend_mode: BlendMode) -> Self
Trait Implementations§
Source§impl Clone for PaintLayer
impl Clone for PaintLayer
Source§fn clone(&self) -> PaintLayer
fn clone(&self) -> PaintLayer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PaintLayer
impl Debug for PaintLayer
Source§impl Default for PaintLayer
impl Default for PaintLayer
Auto Trait Implementations§
impl Freeze for PaintLayer
impl RefUnwindSafe for PaintLayer
impl Send for PaintLayer
impl Sync for PaintLayer
impl Unpin for PaintLayer
impl UnwindSafe for PaintLayer
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<T> IntoPaintLayer for Twhere
T: Into<PaintLayer>,
impl<T> IntoPaintLayer for Twhere
T: Into<PaintLayer>,
Source§fn into_layer(self) -> PaintLayer
fn into_layer(self) -> PaintLayer
Delegates to the underlying Into<PaintLayer> implementation.
Source§impl<T> IntoPaintStack for Twhere
T: IntoPaintLayer,
impl<T> IntoPaintStack for Twhere
T: IntoPaintLayer,
Source§fn into_paint_stack(self) -> PaintStack
fn into_paint_stack(self) -> PaintStack
Wraps the converted paint layer into a new paint stack.