summaryrefslogtreecommitdiff
path: root/src/instance.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/instance.rs')
-rw-r--r--src/instance.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/instance.rs b/src/instance.rs
index 6de0133..554d02d 100644
--- a/src/instance.rs
+++ b/src/instance.rs
@@ -2,6 +2,9 @@ use std::mem::size_of;
use bytemuck::{Pod, Zeroable};
+#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)]
+pub struct InstanceId(pub(crate) usize);
+
#[repr(C)]
#[derive(Copy, Clone, Debug, PartialEq, Pod, Zeroable)]
pub struct Instance {