Enum dx::canvas::renderer::CommandType[][src]

pub enum CommandType {
    SetRenderTarget(RenderTarget),
    ClearRect {
        x: u32,
        y: u32,
        width: u32,
        height: u32,
        color: Color,
    },
    ConvexFill {
        params: Params,
    },
    ConcaveFill {
        stencil_params: Params,
        fill_params: Params,
    },
    Stroke {
        params: Params,
    },
    StencilStroke {
        params1: Params,
        params2: Params,
    },
    Triangles {
        params: Params,
    },
    RenderFilteredImage {
        target_image: ImageId,
        filter: ImageFilter,
    },
}

Variants

SetRenderTarget(RenderTarget)
ClearRect

Fields of ClearRect

x: u32y: u32width: u32height: u32color: Color
ConvexFill

Fields of ConvexFill

params: Params
ConcaveFill

Fields of ConcaveFill

stencil_params: Paramsfill_params: Params
Stroke

Fields of Stroke

params: Params
StencilStroke

Fields of StencilStroke

params1: Paramsparams2: Params
Triangles

Fields of Triangles

params: Params
RenderFilteredImage

Fields of RenderFilteredImage

target_image: ImageIdfilter: ImageFilter

Trait Implementations

Formats the value using the given formatter. Read more

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.

Inspect the context.

Inspect the context.

Inspect the context.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

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.