#[repr(C, packed(1))]pub struct SteamNetworkingIPAddr {
pub __bindgen_anon_1: SteamNetworkingIPAddr__bindgen_ty_2,
pub m_port: uint16,
}
Expand description
Store an IP and port. IPv6 is always used; IPv4 is represented using “IPv4-mapped” addresses: IPv4 aa.bb.cc.dd => IPv6 ::ffff:aabb:ccdd (RFC 4291 section 2.5.5.2.)
Fields§
§__bindgen_anon_1: SteamNetworkingIPAddr__bindgen_ty_2
§m_port: uint16
Trait Implementations§
Source§impl Clone for SteamNetworkingIPAddr
impl Clone for SteamNetworkingIPAddr
Source§fn clone(&self) -> SteamNetworkingIPAddr
fn clone(&self) -> SteamNetworkingIPAddr
Returns a copy 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 Default for SteamNetworkingIPAddr
impl Default for SteamNetworkingIPAddr
impl Copy for SteamNetworkingIPAddr
Auto Trait Implementations§
impl Freeze for SteamNetworkingIPAddr
impl RefUnwindSafe for SteamNetworkingIPAddr
impl Send for SteamNetworkingIPAddr
impl Sync for SteamNetworkingIPAddr
impl Unpin for SteamNetworkingIPAddr
impl UnwindSafe for SteamNetworkingIPAddr
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