#[repr(C)]pub struct tm_buffers_i {
pub inst: *mut tm_buffers_o,
pub allocate: Option<unsafe extern "C" fn(*mut tm_buffers_o, u64, *const c_void) -> *mut c_void>,
pub add: Option<unsafe extern "C" fn(*mut tm_buffers_o, *const c_void, u64, u64) -> u32>,
pub retain: Option<unsafe extern "C" fn(*mut tm_buffers_o, u32)>,
pub release: Option<unsafe extern "C" fn(*mut tm_buffers_o, u32)>,
pub get: Option<unsafe extern "C" fn(*const tm_buffers_o, u32, *mut u64) -> *const c_void>,
pub size: Option<unsafe extern "C" fn(*const tm_buffers_o, u32) -> u64>,
pub hash: Option<unsafe extern "C" fn(*const tm_buffers_o, u32) -> u64>,
pub lookup: Option<unsafe extern "C" fn(*const tm_buffers_o, u64) -> u32>,
pub debug__refcount: Option<unsafe extern "C" fn(*const tm_buffers_o, u32) -> u32>,
}Fields§
§inst: *mut tm_buffers_o§allocate: Option<unsafe extern "C" fn(*mut tm_buffers_o, u64, *const c_void) -> *mut c_void>§add: Option<unsafe extern "C" fn(*mut tm_buffers_o, *const c_void, u64, u64) -> u32>§retain: Option<unsafe extern "C" fn(*mut tm_buffers_o, u32)>§release: Option<unsafe extern "C" fn(*mut tm_buffers_o, u32)>§get: Option<unsafe extern "C" fn(*const tm_buffers_o, u32, *mut u64) -> *const c_void>§size: Option<unsafe extern "C" fn(*const tm_buffers_o, u32) -> u64>§hash: Option<unsafe extern "C" fn(*const tm_buffers_o, u32) -> u64>§lookup: Option<unsafe extern "C" fn(*const tm_buffers_o, u64) -> u32>§debug__refcount: Option<unsafe extern "C" fn(*const tm_buffers_o, u32) -> u32>Trait Implementations§
Source§impl Clone for tm_buffers_i
impl Clone for tm_buffers_i
Source§fn clone(&self) -> tm_buffers_i
fn clone(&self) -> tm_buffers_i
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 moreimpl Copy for tm_buffers_i
Auto Trait Implementations§
impl Freeze for tm_buffers_i
impl RefUnwindSafe for tm_buffers_i
impl !Send for tm_buffers_i
impl !Sync for tm_buffers_i
impl Unpin for tm_buffers_i
impl UnwindSafe for tm_buffers_i
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