Trait bones_ecs::stage::StageLabel

source ·
pub trait StageLabel {
    // Required methods
    fn name(&self) -> String;
    fn id(&self) -> Ulid;
}
Expand description

Trait for things that may be used to identify a system stage.

Required Methods§

source

fn name(&self) -> String

Returns the human-readable name of the label, used in error messages.

source

fn id(&self) -> Ulid

Returns a unique identifier for the stage.

Implementors§