firestorm_core/
disabled.rs

1// It shouldn't even be possible to bring in this module if the import root is `firestorm`,
2// but the compiler doesn't know that. So, we need to create this module with a compatible API.
3
4use std::ops::Sub;
5
6#[derive(Copy, Clone)]
7pub struct TimeSample;
8
9impl TimeSample {
10    pub fn now() -> Self {
11        unreachable!()
12    }
13}
14
15impl Sub for TimeSample {
16    type Output = u64;
17    fn sub(self, _other: TimeSample) -> Self::Output {
18        unreachable!()
19    }
20}