pub struct CmdFill {
pub x: u16,
pub width: u16,
pub paint: Paint,
pub blend_mode: Option<BlendMode>,
}
Expand description
Fill a consecutive region of a wide tile.
Fields§
§x: u16
The horizontal start position of the command in pixels.
width: u16
The width of the command in pixels.
paint: Paint
The paint that should be used to fill the area.
blend_mode: Option<BlendMode>
The blend mode to apply before drawing the contents.
Trait Implementations§
impl StructuralPartialEq for CmdFill
Auto Trait Implementations§
impl Freeze for CmdFill
impl RefUnwindSafe for CmdFill
impl Send for CmdFill
impl Sync for CmdFill
impl Unpin for CmdFill
impl UnwindSafe for CmdFill
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