diff options
| author | Matthew Collins <[email protected]> | 2018-02-27 12:06:52 +0000 |
|---|---|---|
| committer | Matthew Collins <[email protected]> | 2018-02-27 12:06:52 +0000 |
| commit | 91a0783cee4b3c5965b5f646489e95990b8d41ff (patch) | |
| tree | f564dd8c46a9444d7d3676daedc0a22f727beef5 /src/lib.rs | |
| parent | Run the cpp wrapper for clang-format (diff) | |
| download | steamworks-rs-91a0783cee4b3c5965b5f646489e95990b8d41ff.tar.xz steamworks-rs-91a0783cee4b3c5965b5f646489e95990b8d41ff.zip | |
Derive `Ord`/`Eq` for SteamId
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -262,7 +262,7 @@ impl Drop for ClientInner { } /// A user's steam id -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Ord, PartialOrd, Eq, PartialEq)] pub struct SteamId(pub(crate) u64); pub unsafe trait Callback { |