Expand description
A marker trait for types that can be stored in State
.
This is typically implemented using #[derive(StateData)]
, which is provided by the
gotham_derive
crate.
#[derive(StateData)]
struct MyStateData {
x: u32,
}
A marker trait for types that can be stored in State
.
This is typically implemented using #[derive(StateData)]
, which is provided by the
gotham_derive
crate.
#[derive(StateData)]
struct MyStateData {
x: u32,
}