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 moreimpl Copy for xdp_mmap_offsets
Auto Trait Implementations§
impl Freeze for xdp_mmap_offsets
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