#[repr(C)]pub struct nv_alloc_ops {
pub nv_ao_init: Option<unsafe extern "C" fn(arg1: *mut nv_alloc_t, arg2: *mut __va_list_tag) -> c_int>,
pub nv_ao_fini: Option<unsafe extern "C" fn(arg1: *mut nv_alloc_t)>,
pub nv_ao_alloc: Option<unsafe extern "C" fn(arg1: *mut nv_alloc_t, arg2: size_t) -> *mut c_void>,
pub nv_ao_free: Option<unsafe extern "C" fn(arg1: *mut nv_alloc_t, arg2: *mut c_void, arg3: size_t)>,
pub nv_ao_reset: Option<unsafe extern "C" fn(arg1: *mut nv_alloc_t)>,
}Fields§
§nv_ao_init: Option<unsafe extern "C" fn(arg1: *mut nv_alloc_t, arg2: *mut __va_list_tag) -> c_int>§nv_ao_fini: Option<unsafe extern "C" fn(arg1: *mut nv_alloc_t)>§nv_ao_alloc: Option<unsafe extern "C" fn(arg1: *mut nv_alloc_t, arg2: size_t) -> *mut c_void>§nv_ao_free: Option<unsafe extern "C" fn(arg1: *mut nv_alloc_t, arg2: *mut c_void, arg3: size_t)>§nv_ao_reset: Option<unsafe extern "C" fn(arg1: *mut nv_alloc_t)>Trait Implementations§
Source§impl Clone for nv_alloc_ops
impl Clone for nv_alloc_ops
Source§fn clone(&self) -> nv_alloc_ops
fn clone(&self) -> nv_alloc_ops
Returns a duplicate 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 nv_alloc_ops
impl Debug for nv_alloc_ops
impl Copy for nv_alloc_ops
Auto Trait Implementations§
impl Freeze for nv_alloc_ops
impl RefUnwindSafe for nv_alloc_ops
impl Send for nv_alloc_ops
impl Sync for nv_alloc_ops
impl Unpin for nv_alloc_ops
impl UnwindSafe for nv_alloc_ops
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