#[repr(C)]pub struct pl_cache_obj {
pub key: u64,
pub data: *mut c_void,
pub size: usize,
pub free: Option<unsafe extern "C" fn(data: *mut c_void)>,
}Fields§
§key: u64§data: *mut c_void§size: usize§free: Option<unsafe extern "C" fn(data: *mut c_void)>Trait Implementations§
Source§impl Clone for pl_cache_obj
impl Clone for pl_cache_obj
impl Copy for pl_cache_obj
Source§impl Debug for pl_cache_obj
impl Debug for pl_cache_obj
Auto Trait Implementations§
impl !Send for pl_cache_obj
impl !Sync for pl_cache_obj
impl Forget for pl_cache_obj
impl Freeze for pl_cache_obj
impl RefUnwindSafe for pl_cache_obj
impl Unpin for pl_cache_obj
impl UnsafeUnpin for pl_cache_obj
impl UnwindSafe for pl_cache_obj
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