Struct libc::xdp_mmap_offsets
source · #[repr(C)]pub struct xdp_mmap_offsets {
pub rx: xdp_ring_offset,
pub tx: xdp_ring_offset,
pub fr: xdp_ring_offset,
pub cr: xdp_ring_offset,
}
Fields§
§rx: xdp_ring_offset
§tx: xdp_ring_offset
§fr: xdp_ring_offset
§cr: xdp_ring_offset
Trait Implementations§
source§impl Clone for xdp_mmap_offsets
impl Clone for xdp_mmap_offsets
source§fn clone(&self) -> xdp_mmap_offsets
fn clone(&self) -> xdp_mmap_offsets
Returns a copy 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 xdp_mmap_offsets
impl Debug for xdp_mmap_offsets
source§impl Hash for xdp_mmap_offsets
impl Hash for xdp_mmap_offsets
source§impl PartialEq<xdp_mmap_offsets> for xdp_mmap_offsets
impl PartialEq<xdp_mmap_offsets> for xdp_mmap_offsets
source§fn eq(&self, other: &xdp_mmap_offsets) -> bool
fn eq(&self, other: &xdp_mmap_offsets) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for xdp_mmap_offsets
impl Eq for xdp_mmap_offsets
impl StructuralEq for xdp_mmap_offsets
impl StructuralPartialEq for xdp_mmap_offsets
Auto Trait Implementations§
impl RefUnwindSafe for xdp_mmap_offsets
impl Send for xdp_mmap_offsets
impl Sync for xdp_mmap_offsets
impl Unpin for xdp_mmap_offsets
impl UnwindSafe for xdp_mmap_offsets
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