Struct bgfx_sys::bgfx_allocator_vtbl_s
source · #[repr(C)]pub struct bgfx_allocator_vtbl_s {
pub realloc: Option<unsafe extern "C" fn(_this: *mut bgfx_allocator_interface_t, _ptr: *mut c_void, _size: usize, _align: usize, _file: *const c_char, _line: u32) -> *mut c_void>,
}
Fields§
§realloc: Option<unsafe extern "C" fn(_this: *mut bgfx_allocator_interface_t, _ptr: *mut c_void, _size: usize, _align: usize, _file: *const c_char, _line: u32) -> *mut c_void>
Trait Implementations§
source§impl Clone for bgfx_allocator_vtbl_s
impl Clone for bgfx_allocator_vtbl_s
source§fn clone(&self) -> bgfx_allocator_vtbl_s
fn clone(&self) -> bgfx_allocator_vtbl_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_allocator_vtbl_s
impl Debug for bgfx_allocator_vtbl_s
impl Copy for bgfx_allocator_vtbl_s
Auto Trait Implementations§
impl Freeze for bgfx_allocator_vtbl_s
impl RefUnwindSafe for bgfx_allocator_vtbl_s
impl Send for bgfx_allocator_vtbl_s
impl Sync for bgfx_allocator_vtbl_s
impl Unpin for bgfx_allocator_vtbl_s
impl UnwindSafe for bgfx_allocator_vtbl_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