pub struct GnsUtils(_);
Implementations
sourceimpl GnsUtils
impl GnsUtils
pub fn new() -> Option<Self>
pub fn enable_debug_output(&self, ty: ESteamNetworkingSocketsDebugOutputType)
sourcepub fn allocate_message(
&self,
conn: GnsConnection,
flags: i32,
payload: &[u8]
) -> GnsNetworkMessage<ToSend>
pub fn allocate_message(
&self,
conn: GnsConnection,
flags: i32,
payload: &[u8]
) -> GnsNetworkMessage<ToSend>
Allocate a new message to be sent.
This message must be sent if allocated, as the message can only be freed by the GnsSocket::send_messages
call.
pub unsafe fn into_inner(self) -> *mut ISteamNetworkingUtils
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GnsUtils
impl !Send for GnsUtils
impl !Sync for GnsUtils
impl Unpin for GnsUtils
impl UnwindSafe for GnsUtils
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