#[repr(C)]pub struct rlVertexBuffer {
pub elementCount: c_int,
pub vertices: *mut f32,
pub texcoords: *mut f32,
pub normals: *mut f32,
pub colors: *mut c_uchar,
pub indices: *mut c_uint,
pub vaoId: c_uint,
pub vboId: [c_uint; 5],
}Fields§
§elementCount: c_int§vertices: *mut f32§texcoords: *mut f32§normals: *mut f32§colors: *mut c_uchar§indices: *mut c_uint§vaoId: c_uint§vboId: [c_uint; 5]Trait Implementations§
Source§impl Clone for rlVertexBuffer
impl Clone for rlVertexBuffer
Source§fn clone(&self) -> rlVertexBuffer
fn clone(&self) -> rlVertexBuffer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for rlVertexBuffer
Source§impl Debug for rlVertexBuffer
impl Debug for rlVertexBuffer
Source§impl Default for rlVertexBuffer
impl Default for rlVertexBuffer
Source§impl PartialEq for rlVertexBuffer
impl PartialEq for rlVertexBuffer
Source§fn eq(&self, other: &rlVertexBuffer) -> bool
fn eq(&self, other: &rlVertexBuffer) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for rlVertexBuffer
Auto Trait Implementations§
impl !Send for rlVertexBuffer
impl !Sync for rlVertexBuffer
impl Freeze for rlVertexBuffer
impl RefUnwindSafe for rlVertexBuffer
impl Unpin for rlVertexBuffer
impl UnsafeUnpin for rlVertexBuffer
impl UnwindSafe for rlVertexBuffer
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