Struct steamworks_sys::servernetadr_t[][src]

#[repr(C)]pub struct servernetadr_t {
    pub m_usConnectionPort: uint16,
    pub m_usQueryPort: uint16,
    pub m_unIP: uint32,
}

Fields

m_usConnectionPort: uint16m_usQueryPort: uint16m_unIP: uint32

Implementations

impl servernetadr_t[src]

pub unsafe fn Init(
    &mut self,
    ip: c_uint,
    usQueryPort: uint16,
    usConnectionPort: uint16
)
[src]

pub unsafe fn GetQueryPort(&self) -> uint16[src]

pub unsafe fn SetQueryPort(&mut self, usPort: uint16)[src]

pub unsafe fn GetConnectionPort(&self) -> uint16[src]

pub unsafe fn SetConnectionPort(&mut self, usPort: uint16)[src]

pub unsafe fn GetIP(&self) -> uint32[src]

pub unsafe fn SetIP(&mut self, unIP: uint32)[src]

pub unsafe fn GetConnectionAddressString(&self) -> *const c_char[src]

pub unsafe fn GetQueryAddressString(&self) -> *const c_char[src]

Trait Implementations

impl Clone for servernetadr_t[src]

impl Copy for servernetadr_t[src]

impl Debug for servernetadr_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.