#[repr(C)]pub struct FT_MemoryRec {
pub user: intptr_t,
pub alloc: unsafe extern "C" fn(_: FT_Memory, _: c_long) -> *mut c_void,
pub free: unsafe extern "C" fn(_: FT_Memory, _: *mut c_void),
pub realloc: unsafe extern "C" fn(_: FT_Memory, _: c_long, _: c_long, _: *mut c_void) -> *mut c_void,
}
Fields§
§user: intptr_t
§alloc: unsafe extern "C" fn(_: FT_Memory, _: c_long) -> *mut c_void
§free: unsafe extern "C" fn(_: FT_Memory, _: *mut c_void)
§realloc: unsafe extern "C" fn(_: FT_Memory, _: c_long, _: c_long, _: *mut c_void) -> *mut c_void
Auto Trait Implementations§
impl Freeze for FT_MemoryRec
impl RefUnwindSafe for FT_MemoryRec
impl Send for FT_MemoryRec
impl Sync for FT_MemoryRec
impl Unpin for FT_MemoryRec
impl UnwindSafe for FT_MemoryRec
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