Struct libc_interface::packet_mreq [−][src]
#[repr(C)]pub struct packet_mreq { pub mr_ifindex: c_int, pub mr_type: c_ushort, pub mr_alen: c_ushort, pub mr_address: [c_uchar; 8], }
Fields
mr_ifindex: c_int
mr_type: c_ushort
mr_alen: c_ushort
mr_address: [c_uchar; 8]
Trait Implementations
impl Copy for packet_mreq
[src]
impl Copy for packet_mreq
impl Clone for packet_mreq
[src]
impl Clone for packet_mreq
fn clone(&self) -> packet_mreq
[src]
fn clone(&self) -> packet_mreq
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for packet_mreq
[src]
impl PartialEq for packet_mreq
fn eq(&self, other: &Self) -> bool
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for packet_mreq
[src]
impl Eq for packet_mreq
Auto Trait Implementations
impl Send for packet_mreq
impl Send for packet_mreq
impl Sync for packet_mreq
impl Sync for packet_mreq