#[repr(C)]pub struct nk_pool {
pub alloc: nk_allocator,
pub type_: nk_allocation_type,
pub page_count: c_uint,
pub pages: *mut nk_page,
pub freelist: *mut nk_page_element,
pub capacity: c_uint,
pub size: nk_size,
pub cap: nk_size,
}Fields§
§alloc: nk_allocator§type_: nk_allocation_type§page_count: c_uint§pages: *mut nk_page§freelist: *mut nk_page_element§capacity: c_uint§size: nk_size§cap: nk_sizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for nk_pool
impl RefUnwindSafe for nk_pool
impl !Send for nk_pool
impl !Sync for nk_pool
impl Unpin for nk_pool
impl UnwindSafe for nk_pool
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