#[repr(C)]pub struct PRNetAddrInet {
pub family: PRUint16,
pub port: PRUint16,
pub ip: PRUint32,
pub pad: [c_char; 8],
}Fields§
§family: PRUint16§port: PRUint16§ip: PRUint32§pad: [c_char; 8]Trait Implementations§
Source§impl Clone for PRNetAddrInet
impl Clone for PRNetAddrInet
Source§fn clone(&self) -> PRNetAddrInet
fn clone(&self) -> PRNetAddrInet
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PRNetAddrInet
impl Debug for PRNetAddrInet
impl Copy for PRNetAddrInet
Auto Trait Implementations§
impl Freeze for PRNetAddrInet
impl RefUnwindSafe for PRNetAddrInet
impl Send for PRNetAddrInet
impl Sync for PRNetAddrInet
impl Unpin for PRNetAddrInet
impl UnwindSafe for PRNetAddrInet
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