pub struct InputGameVersion(/* private fields */);Expand description
Game-specific version supplied while initializing the input API.
SDK 1.14 declares input game version 1.00 for both ETS2 and ATS. This type
remains distinct from telemetry GameSchemaVersion because SCS versions
each API’s game-facing contract independently.
Implementations§
Trait Implementations§
Source§impl Clone for InputGameVersion
impl Clone for InputGameVersion
Source§fn clone(&self) -> InputGameVersion
fn clone(&self) -> InputGameVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InputGameVersion
Source§impl Debug for InputGameVersion
impl Debug for InputGameVersion
Source§impl Display for InputGameVersion
impl Display for InputGameVersion
impl Eq for InputGameVersion
Source§impl Hash for InputGameVersion
impl Hash for InputGameVersion
Source§impl Ord for InputGameVersion
impl Ord for InputGameVersion
Source§fn cmp(&self, other: &InputGameVersion) -> Ordering
fn cmp(&self, other: &InputGameVersion) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InputGameVersion
impl PartialEq for InputGameVersion
Source§impl PartialOrd for InputGameVersion
impl PartialOrd for InputGameVersion
impl StructuralPartialEq for InputGameVersion
Auto Trait Implementations§
impl Freeze for InputGameVersion
impl RefUnwindSafe for InputGameVersion
impl Send for InputGameVersion
impl Sync for InputGameVersion
impl Unpin for InputGameVersion
impl UnsafeUnpin for InputGameVersion
impl UnwindSafe for InputGameVersion
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