#[repr(C)]pub struct nk_allocator {
pub userdata: nk_handle,
pub alloc: nk_plugin_alloc,
pub free: nk_plugin_free,
}Fields§
§userdata: nk_handle§alloc: nk_plugin_alloc§free: nk_plugin_freeTrait Implementations§
Source§impl Clone for nk_allocator
impl Clone for nk_allocator
Source§fn clone(&self) -> nk_allocator
fn clone(&self) -> nk_allocator
Returns a duplicate of the value. Read more
1.0.0 · 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 nk_allocator
impl Debug for nk_allocator
Source§impl Default for nk_allocator
impl Default for nk_allocator
impl Copy for nk_allocator
Auto Trait Implementations§
impl Freeze for nk_allocator
impl RefUnwindSafe for nk_allocator
impl !Send for nk_allocator
impl !Sync for nk_allocator
impl Unpin for nk_allocator
impl UnwindSafe for nk_allocator
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