#[repr(C)]pub struct CodeBorrowedApi {
pub version: u32,
pub inspect: unsafe extern "C" fn(*const c_void) -> CodeValueInfo,
pub field: unsafe extern "C" fn(*const c_void, *const u8, u64) -> *const c_void,
}Fields§
§version: u32§inspect: unsafe extern "C" fn(*const c_void) -> CodeValueInfo§field: unsafe extern "C" fn(*const c_void, *const u8, u64) -> *const c_voidFirst matching field; null for missing/non-object. Key is UTF-8, not CStr.
Auto Trait Implementations§
impl Freeze for CodeBorrowedApi
impl RefUnwindSafe for CodeBorrowedApi
impl Send for CodeBorrowedApi
impl Sync for CodeBorrowedApi
impl Unpin for CodeBorrowedApi
impl UnsafeUnpin for CodeBorrowedApi
impl UnwindSafe for CodeBorrowedApi
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