Struct steamworks::GameId
source · pub struct GameId(/* private fields */);
Expand description
A game id
Combines AppId
and other information
Implementations§
source§impl GameId
impl GameId
sourcepub fn from_raw(id: u64) -> GameId
pub fn from_raw(id: u64) -> GameId
Creates a GameId
from a raw 64 bit value.
May be useful for deserializing game ids from a network or save format.
Trait Implementations§
source§impl Ord for GameId
impl Ord for GameId
source§impl PartialEq for GameId
impl PartialEq for GameId
source§impl PartialOrd for GameId
impl PartialOrd for GameId
1.0.0 · source§fn 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 moreimpl Copy for GameId
impl Eq for GameId
impl StructuralPartialEq for GameId
Auto Trait Implementations§
impl RefUnwindSafe for GameId
impl Send for GameId
impl Sync for GameId
impl Unpin for GameId
impl UnwindSafe for GameId
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