Struct gns_sys::CGameID_GameID_t
source · [−]#[repr(C, packed)]pub struct CGameID_GameID_t {
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8]>,
}
Fields
_bitfield_align_1: [u8; 0]
_bitfield_1: __BindgenBitfieldUnit<[u8; 8]>
Implementations
sourceimpl CGameID_GameID_t
impl CGameID_GameID_t
pub fn m_nAppID(&self) -> c_uint
pub fn set_m_nAppID(&mut self, val: c_uint)
pub fn m_nType(&self) -> c_uint
pub fn set_m_nType(&mut self, val: c_uint)
pub fn m_nModID(&self) -> c_uint
pub fn set_m_nModID(&mut self, val: c_uint)
pub fn new_bitfield_1(
m_nAppID: c_uint,
m_nType: c_uint,
m_nModID: c_uint
) -> __BindgenBitfieldUnit<[u8; 8]>
Trait Implementations
sourceimpl Clone for CGameID_GameID_t
impl Clone for CGameID_GameID_t
sourcefn clone(&self) -> CGameID_GameID_t
fn clone(&self) -> CGameID_GameID_t
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CGameID_GameID_t
impl Debug for CGameID_GameID_t
sourceimpl Default for CGameID_GameID_t
impl Default for CGameID_GameID_t
sourcefn default() -> CGameID_GameID_t
fn default() -> CGameID_GameID_t
Returns the “default value” for a type. Read more
sourceimpl Hash for CGameID_GameID_t
impl Hash for CGameID_GameID_t
sourceimpl Ord for CGameID_GameID_t
impl Ord for CGameID_GameID_t
sourcefn cmp(&self, other: &CGameID_GameID_t) -> Ordering
fn cmp(&self, other: &CGameID_GameID_t) -> 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<CGameID_GameID_t> for CGameID_GameID_t
impl PartialEq<CGameID_GameID_t> for CGameID_GameID_t
sourcefn eq(&self, other: &CGameID_GameID_t) -> bool
fn eq(&self, other: &CGameID_GameID_t) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CGameID_GameID_t) -> bool
fn ne(&self, other: &CGameID_GameID_t) -> bool
This method tests for !=
.
sourceimpl PartialOrd<CGameID_GameID_t> for CGameID_GameID_t
impl PartialOrd<CGameID_GameID_t> for CGameID_GameID_t
sourcefn partial_cmp(&self, other: &CGameID_GameID_t) -> Option<Ordering>
fn partial_cmp(&self, other: &CGameID_GameID_t) -> 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 Copy for CGameID_GameID_t
impl Eq for CGameID_GameID_t
impl StructuralEq for CGameID_GameID_t
impl StructuralPartialEq for CGameID_GameID_t
Auto Trait Implementations
impl RefUnwindSafe for CGameID_GameID_t
impl Send for CGameID_GameID_t
impl Sync for CGameID_GameID_t
impl Unpin for CGameID_GameID_t
impl UnwindSafe for CGameID_GameID_t
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