Struct bgfx_sys::bgfx_vertex_layout_s
source · #[repr(C)]pub struct bgfx_vertex_layout_s {
pub hash: u32,
pub stride: u16,
pub offset: [u16; 18],
pub attributes: [u16; 18],
}
Expand description
Vertex layout.
Fields§
§hash: u32
§stride: u16
Hash.
offset: [u16; 18]
Stride.
attributes: [u16; 18]
Attribute offsets.
Trait Implementations§
source§impl Clone for bgfx_vertex_layout_s
impl Clone for bgfx_vertex_layout_s
source§fn clone(&self) -> bgfx_vertex_layout_s
fn clone(&self) -> bgfx_vertex_layout_s
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 bgfx_vertex_layout_s
impl Debug for bgfx_vertex_layout_s
impl Copy for bgfx_vertex_layout_s
Auto Trait Implementations§
impl Freeze for bgfx_vertex_layout_s
impl RefUnwindSafe for bgfx_vertex_layout_s
impl Send for bgfx_vertex_layout_s
impl Sync for bgfx_vertex_layout_s
impl Unpin for bgfx_vertex_layout_s
impl UnwindSafe for bgfx_vertex_layout_s
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