Struct machinery_api::foundation::BuffersI [−][src]
#[repr(C)]pub struct BuffersI { pub inst: *mut BuffersO, pub allocate: Option<unsafe extern "C" fn(inst: *mut BuffersO, size: u64, initialize: *const c_void) -> *mut c_void>, pub add: Option<unsafe extern "C" fn(inst: *mut BuffersO, data: *const c_void, size: u64, hash: u64) -> u32>, pub retain: Option<unsafe extern "C" fn(inst: *mut BuffersO, id: u32)>, pub release: Option<unsafe extern "C" fn(inst: *mut BuffersO, id: u32)>, pub get: Option<unsafe extern "C" fn(inst: *const BuffersO, id: u32, size: *mut u64) -> *const c_void>, pub size: Option<unsafe extern "C" fn(inst: *const BuffersO, id: u32) -> u64>, pub hash: Option<unsafe extern "C" fn(inst: *const BuffersO, id: u32) -> u64>, pub lookup: Option<unsafe extern "C" fn(inst: *const BuffersO, hash: u64) -> u32>, pub debug__refcount: Option<unsafe extern "C" fn(inst: *const BuffersO, id: u32) -> u32>, }
Fields
inst: *mut BuffersOallocate: Option<unsafe extern "C" fn(inst: *mut BuffersO, size: u64, initialize: *const c_void) -> *mut c_void>add: Option<unsafe extern "C" fn(inst: *mut BuffersO, data: *const c_void, size: u64, hash: u64) -> u32>retain: Option<unsafe extern "C" fn(inst: *mut BuffersO, id: u32)>release: Option<unsafe extern "C" fn(inst: *mut BuffersO, id: u32)>get: Option<unsafe extern "C" fn(inst: *const BuffersO, id: u32, size: *mut u64) -> *const c_void>size: Option<unsafe extern "C" fn(inst: *const BuffersO, id: u32) -> u64>hash: Option<unsafe extern "C" fn(inst: *const BuffersO, id: u32) -> u64>lookup: Option<unsafe extern "C" fn(inst: *const BuffersO, hash: u64) -> u32>debug__refcount: Option<unsafe extern "C" fn(inst: *const BuffersO, id: u32) -> u32>Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BuffersI
impl UnwindSafe for BuffersI
Blanket Implementations
Mutably borrows from an owned value. Read more