#[repr(C)]pub struct rte_mempool_memhdr {
pub next: rte_mempool_memhdr__bindgen_ty_1,
pub mp: *mut rte_mempool,
pub addr: *mut c_void,
pub __bindgen_anon_1: rte_mempool_memhdr__bindgen_ty_2,
pub len: size_t,
pub free_cb: rte_mempool_memchunk_free_cb_t,
pub opaque: *mut c_void,
}Fields§
§next: rte_mempool_memhdr__bindgen_ty_1§mp: *mut rte_mempool§addr: *mut c_void§__bindgen_anon_1: rte_mempool_memhdr__bindgen_ty_2§len: size_t§free_cb: rte_mempool_memchunk_free_cb_t§opaque: *mut c_voidTrait Implementations§
Source§impl Clone for rte_mempool_memhdr
impl Clone for rte_mempool_memhdr
Source§fn clone(&self) -> rte_mempool_memhdr
fn clone(&self) -> rte_mempool_memhdr
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 Default for rte_mempool_memhdr
impl Default for rte_mempool_memhdr
impl Copy for rte_mempool_memhdr
Auto Trait Implementations§
impl Freeze for rte_mempool_memhdr
impl RefUnwindSafe for rte_mempool_memhdr
impl !Send for rte_mempool_memhdr
impl !Sync for rte_mempool_memhdr
impl Unpin for rte_mempool_memhdr
impl UnwindSafe for rte_mempool_memhdr
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