#[repr(C)]pub struct GlVoidPtrConst {
pub ptr: *const GLvoid,
pub run_destructor: bool,
}Expand description
Passing *const c_void is not easily possible when generating APIs,
so this wrapper struct is for easier API generation
Fields§
§ptr: *const GLvoid§run_destructor: boolTrait Implementations§
Source§impl Clone for GlVoidPtrConst
impl Clone for GlVoidPtrConst
Source§impl Debug for GlVoidPtrConst
impl Debug for GlVoidPtrConst
Source§impl Drop for GlVoidPtrConst
impl Drop for GlVoidPtrConst
Auto Trait Implementations§
impl !Send for GlVoidPtrConst
impl !Sync for GlVoidPtrConst
impl Freeze for GlVoidPtrConst
impl RefUnwindSafe for GlVoidPtrConst
impl Unpin for GlVoidPtrConst
impl UnsafeUnpin for GlVoidPtrConst
impl UnwindSafe for GlVoidPtrConst
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