Struct arcdps_imgui::DrawVert
source · #[repr(C)]pub struct DrawVert {
pub pos: [f32; 2],
pub uv: [f32; 2],
pub col: [u8; 4],
}
Expand description
A single vertex
Fields§
§pos: [f32; 2]
§uv: [f32; 2]
§col: [u8; 4]
Trait Implementations§
impl Copy for DrawVert
impl StructuralPartialEq for DrawVert
Auto Trait Implementations§
impl Freeze for DrawVert
impl RefUnwindSafe for DrawVert
impl Send for DrawVert
impl Sync for DrawVert
impl Unpin for DrawVert
impl UnwindSafe for DrawVert
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
)