#[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
impl Eq for protoent
impl StructuralPartialEq for protoent
Auto Trait Implementations§
impl Freeze for protoent
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)