pub struct Command {
pub draw: Draw,
pub clip: Id,
pub effect: Option<Id>,
pub bounds: Rect,
}Expand description
A drawing command and the property state it is drawn under: its clip and its effect, if any. Its transform is its chunk’s.
Fields§
§draw: Draw§clip: Id§effect: Option<Id>§bounds: RectEvery pixel it can touch, in its chunk’s coordinates.
Auto Trait Implementations§
impl !RefUnwindSafe for Command
impl !UnwindSafe for Command
impl Freeze for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnsafeUnpin for Command
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