Struct libc_interface::in_addr [−][src]
#[repr(C)]pub struct in_addr { pub s_addr: in_addr_t, }
Fields
s_addr: in_addr_t
Trait Implementations
impl Copy for in_addr
[src]
impl Copy for in_addr
impl Clone for in_addr
[src]
impl Clone for in_addr
fn clone(&self) -> in_addr
[src]
fn clone(&self) -> in_addr
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 in_addr
[src]
impl PartialEq for in_addr
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 in_addr
[src]
impl Eq for in_addr