#[repr(C)]pub struct CACHE_REFERENCE {
pub func_release: Option<unsafe extern "C" fn(instance: *mut c_void)>,
pub cache_instance: *mut c_void,
}Expand description
キャッシュデータ参照の基底クラス
クラスオブジェクトが生存している間はキャッシュ参照が有効となるように制御されます。
Fields§
§func_release: Option<unsafe extern "C" fn(instance: *mut c_void)>§cache_instance: *mut c_voidTrait Implementations§
Source§impl Drop for CACHE_REFERENCE
impl Drop for CACHE_REFERENCE
Auto Trait Implementations§
impl !Send for CACHE_REFERENCE
impl !Sync for CACHE_REFERENCE
impl Freeze for CACHE_REFERENCE
impl RefUnwindSafe for CACHE_REFERENCE
impl Unpin for CACHE_REFERENCE
impl UnsafeUnpin for CACHE_REFERENCE
impl UnwindSafe for CACHE_REFERENCE
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