Struct libc::unix::linux_like::linux::tpacket_block_desc
source · #[repr(C)]pub struct tpacket_block_desc {
pub version: __u32,
pub offset_to_priv: __u32,
pub hdr: tpacket_bd_header_u,
}
Fields§
§version: __u32
§offset_to_priv: __u32
§hdr: tpacket_bd_header_u
Trait Implementations§
source§impl Clone for tpacket_block_desc
impl Clone for tpacket_block_desc
source§fn clone(&self) -> tpacket_block_desc
fn clone(&self) -> tpacket_block_desc
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 tpacket_block_desc
Auto Trait Implementations§
impl Freeze for tpacket_block_desc
impl RefUnwindSafe for tpacket_block_desc
impl Send for tpacket_block_desc
impl Sync for tpacket_block_desc
impl Unpin for tpacket_block_desc
impl UnwindSafe for tpacket_block_desc
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)