pub struct LayerPaint { /* private fields */ }Expand description
The alpha and color filter of a layer drawn in place. Every color of the
layer’s content takes them, as apply_layer_to_color applies them. A
text resolves the colors of its glyphs from its style and spans first.
Each resolved color then takes this paint.
Implementations§
Trait Implementations§
Source§impl Clone for LayerPaint
impl Clone for LayerPaint
Source§impl Debug for LayerPaint
impl Debug for LayerPaint
Source§impl Hash for LayerPaint
impl Hash for LayerPaint
Source§impl PartialEq for LayerPaint
impl PartialEq for LayerPaint
impl StructuralPartialEq for LayerPaint
Auto Trait Implementations§
impl Forget for LayerPaint
impl Freeze for LayerPaint
impl Move for LayerPaint
impl RefUnwindSafe for LayerPaint
impl Send for LayerPaint
impl Sync for LayerPaint
impl Unpin for LayerPaint
impl UnsafeUnpin for LayerPaint
impl UnwindSafe for LayerPaint
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