Struct steamworks_sys::SteamNetworkingIdentity
source · #[repr(C, packed(1))]pub struct SteamNetworkingIdentity {
pub m_eType: ESteamNetworkingIdentityType,
pub m_cbSize: c_int,
pub __bindgen_anon_1: SteamNetworkingIdentity__bindgen_ty_2,
}
Expand description
An abstract way to represent the identity of a network host. All identities can be represented as simple string. Furthermore, this string representation is actually used on the wire in several places, even though it is less efficient, in order to facilitate forward compatibility. (Old client code can handle an identity type that it doesn’t understand.)
Fields§
§m_eType: ESteamNetworkingIdentityType
Type of identity.
m_cbSize: c_int
§__bindgen_anon_1: SteamNetworkingIdentity__bindgen_ty_2
Trait Implementations§
source§impl Clone for SteamNetworkingIdentity
impl Clone for SteamNetworkingIdentity
source§fn clone(&self) -> SteamNetworkingIdentity
fn clone(&self) -> SteamNetworkingIdentity
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 SteamNetworkingIdentity
Auto Trait Implementations§
impl RefUnwindSafe for SteamNetworkingIdentity
impl Send for SteamNetworkingIdentity
impl Sync for SteamNetworkingIdentity
impl Unpin for SteamNetworkingIdentity
impl UnwindSafe for SteamNetworkingIdentity
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