Struct vg::renderer::Command[][src]

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,
}

Fields

cmd_type: CommandTypedrawables: Vec<Drawable>triangles_verts: Option<(usize, usize)>image: Option<ImageId>glyph_texture: GlyphTexturefill_rule: FillRulecomposite_operation: CompositeOperationState

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.