Struct ul_sys::ULVertex_2f_4ub_2f_2f_28f[][src]

#[repr(C, packed)]
pub struct ULVertex_2f_4ub_2f_2f_28f { pub pos: [f32; 2], pub color: [c_uchar; 4], pub tex: [f32; 2], pub obj: [f32; 2], pub data0: [f32; 4], pub data1: [f32; 4], pub data2: [f32; 4], pub data3: [f32; 4], pub data4: [f32; 4], pub data5: [f32; 4], pub data6: [f32; 4], }
Expand description

Vertex layout for quad vertices.

(this struct’s members aligned on single-byte boundaries)

Fields

pos: [f32; 2]color: [c_uchar; 4]tex: [f32; 2]obj: [f32; 2]data0: [f32; 4]data1: [f32; 4]data2: [f32; 4]data3: [f32; 4]data4: [f32; 4]data5: [f32; 4]data6: [f32; 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

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 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.