#[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 BuffersO§allocate: 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 Freeze for BuffersI
impl RefUnwindSafe for BuffersI
impl !Send for BuffersI
impl !Sync for BuffersI
impl Unpin for BuffersI
impl UnwindSafe for BuffersI
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