Struct imgui_glium_renderer::GliumDrawVert[][src]

#[repr(C)]
pub struct GliumDrawVert { pub pos: [f32; 2], pub uv: [f32; 2], pub col: [u8; 4], }

Fields

pos: [f32; 2]uv: [f32; 2]col: [u8; 4]

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Builds the VertexFormat representing the layout of this element.

Returns true if the backend supports this vertex format.

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

A type that holds a sized version of the content.

Prepares an output buffer, then turns this buffer into an Owned. User-provided closure F must only write to and not read from &mut Self. Read more

Returns the size of each element.

Produces a pointer to the data.

Builds a pointer to this type from a raw pointer.

Returns true if the size is suitable to store a type like this.

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. 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.