Skip to main content

Stores

Trait Stores 

Source
pub trait Stores {
    // Required method
    fn store_for(&self, id: u8) -> Option<&dyn Store>;
}
Expand description

Maps compile-time store_id (u8) to a Store implementation. The id corresponds to the index position in the store_ids slice passed to Dsl::compile.

Required Methods§

Source

fn store_for(&self, id: u8) -> Option<&dyn Store>

Implementors§