Struct steamworks_sys::SteamNetworkingIPAddr
source · #[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 moreimpl Copy for SteamNetworkingIPAddr
Auto Trait Implementations§
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