#[repr(C)]pub struct VertexArrayObject {
pub vertex_layout: VertexLayout,
pub vao_id: GLuint,
pub gl_context: GlContextPtr,
pub refcount: *const AtomicUsize,
pub run_destructor: bool,
}Fields§
§vertex_layout: VertexLayout§vao_id: GLuint§gl_context: GlContextPtr§refcount: *const AtomicUsize§run_destructor: boolImplementations§
Source§impl VertexArrayObject
impl VertexArrayObject
pub fn new( vertex_layout: VertexLayout, vao_id: GLuint, gl_context: GlContextPtr, ) -> Self
Trait Implementations§
Source§impl Clone for VertexArrayObject
impl Clone for VertexArrayObject
Source§impl Debug for VertexArrayObject
impl Debug for VertexArrayObject
Source§impl Drop for VertexArrayObject
impl Drop for VertexArrayObject
Source§impl PartialEq for VertexArrayObject
impl PartialEq for VertexArrayObject
Source§fn eq(&self, other: &VertexArrayObject) -> bool
fn eq(&self, other: &VertexArrayObject) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for VertexArrayObject
impl PartialOrd for VertexArrayObject
impl StructuralPartialEq for VertexArrayObject
Auto Trait Implementations§
impl Freeze for VertexArrayObject
impl RefUnwindSafe for VertexArrayObject
impl !Send for VertexArrayObject
impl !Sync for VertexArrayObject
impl Unpin for VertexArrayObject
impl UnsafeUnpin for VertexArrayObject
impl UnwindSafe for VertexArrayObject
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