Enum imgui::DrawCmd[][src]

pub enum DrawCmd {
    Elements {
        count: usize,
        cmd_params: DrawCmdParams,
    },
    ResetRenderState,
    RawCallback {
        callback: unsafe extern "C" fn(_: *const ImDrawList, cmd: *const ImDrawCmd),
        raw_cmd: *const ImDrawCmd,
    },
}
Expand description

A draw command

Variants

Elements

Fields of Elements

count: usize

The number of indices used for this draw command

cmd_params: DrawCmdParams
ResetRenderState
RawCallback

Fields of RawCallback

callback: unsafe extern "C" fn(_: *const ImDrawList, cmd: *const ImDrawCmd)raw_cmd: *const ImDrawCmd

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.