galeon-engine 0.5.1

Core ECS game engine: entities, components, systems, and scheduling.
Documentation
1
2
3
4
5
6
7
8
9
10
11
// SPDX-License-Identifier: AGPL-3.0-only OR Commercial

//! #[handler] on a generic fn should fail — metadata would contain
//! placeholder type names instead of concrete types.

#[galeon_engine::handler]
pub fn bad_handler<T>(cmd: T) -> Result<T, String> {
    Ok(cmd)
}

fn main() {}