#[repr(C)]pub struct apr_memnode_t {
pub next: *mut apr_memnode_t,
pub ref_: *mut *mut apr_memnode_t,
pub index: apr_uint32_t,
pub free_index: apr_uint32_t,
pub first_avail: *mut c_char,
pub endp: *mut c_char,
}Expand description
basic memory node structure @note The next, ref and first_avail fields are available for use by the caller of apr_allocator_alloc(), the remaining fields are read-only. The next field has to be used with caution and sensibly set when the memnode is passed back to apr_allocator_free(). See apr_allocator_free() for details. The ref and first_avail fields will be properly restored by apr_allocator_free().
Fields§
§next: *mut apr_memnode_t< next memnode
ref_: *mut *mut apr_memnode_t< reference to self
index: apr_uint32_t< size
free_index: apr_uint32_t< how much free
first_avail: *mut c_char< pointer to first free memory
endp: *mut c_char< pointer to end of free memory
Trait Implementations§
Source§impl Clone for apr_memnode_t
impl Clone for apr_memnode_t
Source§fn clone(&self) -> apr_memnode_t
fn clone(&self) -> apr_memnode_t
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 apr_memnode_t
impl Debug for apr_memnode_t
impl Copy for apr_memnode_t
Auto Trait Implementations§
impl Freeze for apr_memnode_t
impl RefUnwindSafe for apr_memnode_t
impl !Send for apr_memnode_t
impl !Sync for apr_memnode_t
impl Unpin for apr_memnode_t
impl UnsafeUnpin for apr_memnode_t
impl UnwindSafe for apr_memnode_t
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