#[repr(C)]pub struct protoent {
pub p_name: *mut i8,
pub p_aliases: *mut *mut i8,
pub p_proto: i32,
}
Fields§
§p_name: *mut i8
§p_aliases: *mut *mut i8
§p_proto: i32
Trait Implementations§
source§impl PartialEq<protoent> for protoent
impl PartialEq<protoent> for protoent
impl Copy for protoent
impl Eq for protoent
impl StructuralEq for protoent
impl StructuralPartialEq for protoent
Auto Trait Implementations§
impl RefUnwindSafe for protoent
impl !Send for protoent
impl !Sync for protoent
impl Unpin for protoent
impl UnwindSafe for protoent
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> CallHasher for Twhere
T: Hash + ?Sized,
impl<T> CallHasher for Twhere T: Hash + ?Sized,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.