Struct gns_sys::ISteamNetworkingUtils
source · [−]#[repr(C)]pub struct ISteamNetworkingUtils {
pub vtable_: *const ISteamNetworkingUtils__bindgen_vtable,
}
Expand description
Misc networking utilities for checking the local networking environment and estimating pings.
Fields
vtable_: *const ISteamNetworkingUtils__bindgen_vtable
Implementations
sourceimpl ISteamNetworkingUtils
impl ISteamNetworkingUtils
pub unsafe fn SetGlobalConfigValueInt32(
&mut self,
eValue: ESteamNetworkingConfigValue,
val: int32
) -> bool
pub unsafe fn SetGlobalConfigValueFloat(
&mut self,
eValue: ESteamNetworkingConfigValue,
val: f32
) -> bool
pub unsafe fn SetGlobalConfigValueString(
&mut self,
eValue: ESteamNetworkingConfigValue,
val: *const c_char
) -> bool
pub unsafe fn SetGlobalConfigValuePtr(
&mut self,
eValue: ESteamNetworkingConfigValue,
val: *mut c_void
) -> bool
pub unsafe fn SetConnectionConfigValueInt32(
&mut self,
hConn: HSteamNetConnection,
eValue: ESteamNetworkingConfigValue,
val: int32
) -> bool
pub unsafe fn SetConnectionConfigValueFloat(
&mut self,
hConn: HSteamNetConnection,
eValue: ESteamNetworkingConfigValue,
val: f32
) -> bool
pub unsafe fn SetConnectionConfigValueString(
&mut self,
hConn: HSteamNetConnection,
eValue: ESteamNetworkingConfigValue,
val: *const c_char
) -> bool
pub unsafe fn SetGlobalCallback_SteamNetConnectionStatusChanged(
&mut self,
fnCallback: FnSteamNetConnectionStatusChanged
) -> bool
pub unsafe fn SetGlobalCallback_SteamNetAuthenticationStatusChanged(
&mut self,
fnCallback: FnSteamNetAuthenticationStatusChanged
) -> bool
pub unsafe fn SetGlobalCallback_SteamRelayNetworkStatusChanged(
&mut self,
fnCallback: FnSteamRelayNetworkStatusChanged
) -> bool
pub unsafe fn SetGlobalCallback_FakeIPResult(
&mut self,
fnCallback: FnSteamNetworkingFakeIPResult
) -> bool
pub unsafe fn SetGlobalCallback_MessagesSessionRequest(
&mut self,
fnCallback: FnSteamNetworkingMessagesSessionRequest
) -> bool
pub unsafe fn SetGlobalCallback_MessagesSessionFailed(
&mut self,
fnCallback: FnSteamNetworkingMessagesSessionFailed
) -> bool
pub unsafe fn SetConfigValueStruct(
&mut self,
opt: *const SteamNetworkingConfigValue_t,
eScopeType: ESteamNetworkingConfigScope,
scopeObj: isize
) -> bool
pub unsafe fn destruct(&mut self)
Trait Implementations
sourceimpl Debug for ISteamNetworkingUtils
impl Debug for ISteamNetworkingUtils
sourceimpl Default for ISteamNetworkingUtils
impl Default for ISteamNetworkingUtils
sourceimpl Hash for ISteamNetworkingUtils
impl Hash for ISteamNetworkingUtils
sourceimpl Ord for ISteamNetworkingUtils
impl Ord for ISteamNetworkingUtils
sourcefn cmp(&self, other: &ISteamNetworkingUtils) -> Ordering
fn cmp(&self, other: &ISteamNetworkingUtils) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<ISteamNetworkingUtils> for ISteamNetworkingUtils
impl PartialEq<ISteamNetworkingUtils> for ISteamNetworkingUtils
sourcefn eq(&self, other: &ISteamNetworkingUtils) -> bool
fn eq(&self, other: &ISteamNetworkingUtils) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ISteamNetworkingUtils) -> bool
fn ne(&self, other: &ISteamNetworkingUtils) -> bool
This method tests for !=
.
sourceimpl PartialOrd<ISteamNetworkingUtils> for ISteamNetworkingUtils
impl PartialOrd<ISteamNetworkingUtils> for ISteamNetworkingUtils
sourcefn partial_cmp(&self, other: &ISteamNetworkingUtils) -> Option<Ordering>
fn partial_cmp(&self, other: &ISteamNetworkingUtils) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Eq for ISteamNetworkingUtils
impl StructuralEq for ISteamNetworkingUtils
impl StructuralPartialEq for ISteamNetworkingUtils
Auto Trait Implementations
impl RefUnwindSafe for ISteamNetworkingUtils
impl !Send for ISteamNetworkingUtils
impl !Sync for ISteamNetworkingUtils
impl Unpin for ISteamNetworkingUtils
impl UnwindSafe for ISteamNetworkingUtils
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more