[][src]Struct nvpair_sys::nv_alloc_ops

#[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

impl Clone for nv_alloc_ops[src]

impl Copy for nv_alloc_ops[src]

impl Debug for nv_alloc_ops[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.