[][src]Enum femtovg::renderer::CommandType

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

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

Trait Implementations

impl Debug for CommandType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.