Struct libc::sockaddr_pkt
source · #[repr(C)]pub struct sockaddr_pkt {
pub spkt_family: c_ushort,
pub spkt_device: [c_uchar; 14],
pub spkt_protocol: c_ushort,
}
Fields§
§spkt_family: c_ushort
§spkt_device: [c_uchar; 14]
§spkt_protocol: c_ushort
Trait Implementations§
source§impl Clone for sockaddr_pkt
impl Clone for sockaddr_pkt
source§fn clone(&self) -> sockaddr_pkt
fn clone(&self) -> sockaddr_pkt
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 sockaddr_pkt
Auto Trait Implementations§
impl Freeze for sockaddr_pkt
impl RefUnwindSafe for sockaddr_pkt
impl Send for sockaddr_pkt
impl Sync for sockaddr_pkt
impl Unpin for sockaddr_pkt
impl UnwindSafe for sockaddr_pkt
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
)