#[repr(C)]pub struct pool_t {
pub block_ptrs: *mut c_void,
pub block_ptrs_len: dim_t,
pub top_index: dim_t,
pub num_blocks: dim_t,
pub block_size: siz_t,
pub align_size: siz_t,
pub offset_size: siz_t,
pub malloc_fp: malloc_ft,
pub free_fp: free_ft,
}Fields
block_ptrs: *mut c_voidblock_ptrs_len: dim_ttop_index: dim_tnum_blocks: dim_tblock_size: siz_talign_size: siz_toffset_size: siz_tmalloc_fp: malloc_ftfree_fp: free_ftTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for pool_t
impl !Send for pool_t
impl !Sync for pool_t
impl Unpin for pool_t
impl UnwindSafe for pool_t
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more