#[repr(C)]pub struct ZSTD_customMem {
pub customAlloc: ZSTD_allocFunction,
pub customFree: ZSTD_freeFunction,
pub opaque: *mut c_void,
}Fields§
§customAlloc: ZSTD_allocFunction§customFree: ZSTD_freeFunction§opaque: *mut c_voidTrait Implementations§
Source§impl Clone for ZSTD_customMem
impl Clone for ZSTD_customMem
impl Copy for ZSTD_customMem
Auto Trait Implementations§
impl !Send for ZSTD_customMem
impl !Sync for ZSTD_customMem
impl Freeze for ZSTD_customMem
impl RefUnwindSafe for ZSTD_customMem
impl Unpin for ZSTD_customMem
impl UnsafeUnpin for ZSTD_customMem
impl UnwindSafe for ZSTD_customMem
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