#[repr(C)]pub struct spng_alloc {
pub malloc_fn: spng_malloc_fn,
pub realloc_fn: spng_realloc_fn,
pub calloc_fn: spng_calloc_fn,
pub free_fn: spng_free_fn,
}Fields§
§malloc_fn: spng_malloc_fn§realloc_fn: spng_realloc_fn§calloc_fn: spng_calloc_fn§free_fn: spng_free_fnTrait Implementations§
Source§impl Clone for spng_alloc
impl Clone for spng_alloc
Source§fn clone(&self) -> spng_alloc
fn clone(&self) -> spng_alloc
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for spng_alloc
impl Debug for spng_alloc
impl Copy for spng_alloc
Auto Trait Implementations§
impl Freeze for spng_alloc
impl RefUnwindSafe for spng_alloc
impl Send for spng_alloc
impl Sync for spng_alloc
impl Unpin for spng_alloc
impl UnsafeUnpin for spng_alloc
impl UnwindSafe for spng_alloc
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