pub struct CmdAlphaFill {
pub x: u16,
pub width: u16,
pub alpha_idx: usize,
pub paint: Paint,
pub blend_mode: Option<BlendMode>,
}
Expand description
Fill a consecutive region of a wide tile with an alpha mask.
Fields§
§x: u16
The horizontal start position of the command in pixels.
width: u16
The width of the command in pixels.
alpha_idx: usize
The start index into the alpha buffer of the command.
paint: Paint
The paint that should be used to fill the area.
blend_mode: Option<BlendMode>
A blend mode to apply before drawing the contents.
Trait Implementations§
Source§impl Clone for CmdAlphaFill
impl Clone for CmdAlphaFill
Source§fn clone(&self) -> CmdAlphaFill
fn clone(&self) -> CmdAlphaFill
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 CmdAlphaFill
impl Debug for CmdAlphaFill
Source§impl PartialEq for CmdAlphaFill
impl PartialEq for CmdAlphaFill
impl StructuralPartialEq for CmdAlphaFill
Auto Trait Implementations§
impl Freeze for CmdAlphaFill
impl RefUnwindSafe for CmdAlphaFill
impl Send for CmdAlphaFill
impl Sync for CmdAlphaFill
impl Unpin for CmdAlphaFill
impl UnwindSafe for CmdAlphaFill
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