0.1.0-0-pre.1
This commit is contained in:
14
crates/engines/engine-v1-sdl/src/runtime.rs
Normal file
14
crates/engines/engine-v1-sdl/src/runtime.rs
Normal file
@@ -0,0 +1,14 @@
|
||||
// file: crates/engines/engine-v1-sdl/src/runtime.rs
|
||||
// version: 1
|
||||
|
||||
/// Marker representing the future SDL3 runtime boundary for engine V1.
|
||||
#[derive(Clone, Copy, Debug, Default, Eq, PartialEq)]
|
||||
pub struct SdlRuntimeBoundary;
|
||||
|
||||
impl SdlRuntimeBoundary {
|
||||
/// Returns the engine generation served by this boundary.
|
||||
#[must_use]
|
||||
pub const fn engine_generation() -> u16 {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user