Struct freetype_sys::FT_MemoryRec
source · #[repr(C)]pub struct FT_MemoryRec {
pub user: *mut c_void,
pub alloc: FT_Alloc_Func,
pub free: FT_Free_Func,
pub realloc: FT_Realloc_Func,
}
Fields§
§user: *mut c_void
§alloc: FT_Alloc_Func
§free: FT_Free_Func
§realloc: FT_Realloc_Func
Trait Implementations§
source§impl Debug for FT_MemoryRec
impl Debug for FT_MemoryRec
source§impl Hash for FT_MemoryRec
impl Hash for FT_MemoryRec
source§impl PartialEq for FT_MemoryRec
impl PartialEq for FT_MemoryRec
source§fn eq(&self, other: &FT_MemoryRec) -> bool
fn eq(&self, other: &FT_MemoryRec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for FT_MemoryRec
impl StructuralPartialEq for FT_MemoryRec
impl Sync for FT_MemoryRec
Auto Trait Implementations§
impl Freeze for FT_MemoryRec
impl RefUnwindSafe for FT_MemoryRec
impl !Send 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