Trait geese::GeeseSystem
source · pub trait GeeseSystem: 'static + Sized {
const DEPENDENCIES: Dependencies = _;
const EVENT_HANDLERS: EventHandlers<Self> = _;
// Required method
fn new(ctx: GeeseContextHandle<Self>) -> Self;
}Expand description
Represents a collection of event handlers with internal state.
Provided Associated Constants§
sourceconst DEPENDENCIES: Dependencies = _
const DEPENDENCIES: Dependencies = _
The set of dependencies that this system has.
sourceconst EVENT_HANDLERS: EventHandlers<Self> = _
const EVENT_HANDLERS: EventHandlers<Self> = _
The set of events to which this system responds.
Required Methods§
sourcefn new(ctx: GeeseContextHandle<Self>) -> Self
fn new(ctx: GeeseContextHandle<Self>) -> Self
Creates a new instance of the system for the given system handle.
Object Safety§
This trait is not object safe.