Trait bones_lib::ecs::prelude::StageLabel

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§

fn name(&self) -> String

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

fn id(&self) -> Ulid

Returns a unique identifier for the stage.

Implementors§