roopes_core/patterns/command/
mod.rs1#![cfg_attr(feature = "doc-images",
3 cfg_attr(
4 all(),
5 doc = ::embed_doc_image::embed_image!(
6 "command-diagram",
7 "src/patterns/command/command.svg"
8)))]
9#![cfg_attr(
10 not(feature = "doc-images"),
11 doc = "**Doc images not enabled**. Compile with feature `doc-images` and \
12 Rust version >= 1.54 to enable."
13)]
14pub mod hashable;
20pub mod heap;
21
22pub use hashable::Hashable;
23pub use heap::Heap;
24
25pub trait Command
28{
29 fn execute(&self);
31}
32
33pub mod prelude
36{
37 pub use super::Command;
38}