Struct libc_interface::protoent [−][src]
#[repr(C)]pub struct protoent { pub p_name: *mut c_char, pub p_aliases: *mut *mut c_char, pub p_proto: c_int, }
Fields
p_name: *mut c_char
p_aliases: *mut *mut c_char
p_proto: c_int
Trait Implementations
impl Copy for protoent
[src]
impl Copy for protoent
impl Clone for protoent
[src]
impl Clone for protoent
fn clone(&self) -> protoent
[src]
fn clone(&self) -> protoent
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 protoent
[src]
impl PartialEq for protoent
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 protoent
[src]
impl Eq for protoent