Struct imgui::draw_list::ImageQuad[][src]

pub struct ImageQuad<'ui> { /* fields omitted */ }
Expand description

Represents a image about to be drawn

Implementations

Typically constructed by DrawListMut::add_image_quad

Set uv coordinates of each point of the quad. If not called, defaults are:

uv1: [0.0, 0.0],
uv2: [1, 0],
uv3: [1, 1],
uv4: [0, 1],

Set color tint (default: no tint/white [1.0, 1.0, 1.0, 1.0])

Draw the image on the window.

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.