Struct ul_next_sys::ULVertex_2f_4ub_2f_2f_28f
source · #[repr(C, packed(1))]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§
source§impl Clone for ULVertex_2f_4ub_2f_2f_28f
impl Clone for ULVertex_2f_4ub_2f_2f_28f
source§fn clone(&self) -> ULVertex_2f_4ub_2f_2f_28f
fn clone(&self) -> ULVertex_2f_4ub_2f_2f_28f
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ULVertex_2f_4ub_2f_2f_28f
impl Debug for ULVertex_2f_4ub_2f_2f_28f
source§impl Default for ULVertex_2f_4ub_2f_2f_28f
impl Default for ULVertex_2f_4ub_2f_2f_28f
source§fn default() -> ULVertex_2f_4ub_2f_2f_28f
fn default() -> ULVertex_2f_4ub_2f_2f_28f
Returns the “default value” for a type. Read more
impl Copy for ULVertex_2f_4ub_2f_2f_28f
Auto Trait Implementations§
impl Freeze for ULVertex_2f_4ub_2f_2f_28f
impl RefUnwindSafe for ULVertex_2f_4ub_2f_2f_28f
impl Send for ULVertex_2f_4ub_2f_2f_28f
impl Sync for ULVertex_2f_4ub_2f_2f_28f
impl Unpin for ULVertex_2f_4ub_2f_2f_28f
impl UnwindSafe for ULVertex_2f_4ub_2f_2f_28f
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)