pub struct Command {
pub cmd_type: CommandType,
pub drawables: Vec<Drawable>,
pub triangles_verts: Option<(usize, usize)>,
pub image: Option<ImageId>,
pub glyph_texture: GlyphTexture,
pub fill_rule: FillRule,
pub composite_operation: CompositeOperationState,
}Expand description
Represents command
Fields§
§cmd_type: CommandTypeCommand type
drawables: Vec<Drawable>Drawables
triangles_verts: Option<(usize, usize)>Triangle vertices
image: Option<ImageId>Image
glyph_texture: GlyphTextureGlyph texture
fill_rule: FillRuleFill rule
composite_operation: CompositeOperationStateCompsite operation
Implementations§
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe 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