#[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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 128 bytes