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 protoentimpl Clone for protoent[src]
impl Clone for protoentfn clone(&self) -> protoent[src]
fn clone(&self) -> protoentReturns 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 protoentfn eq(&self, other: &Self) -> bool[src]
fn eq(&self, other: &Self) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for protoent[src]
impl Eq for protoent