Skip to main content

Single

Type Alias Single 

Source
pub type Single<M, L> = Multi<Singleton<M>, Singleton<L>>;

Aliased Type§

pub struct Single<M, L> {
    pub langs: Singleton<M>,
    pub metas: Singleton<L>,
    pub machines: Park,
}

Fields§

§langs: Singleton<M>§metas: Singleton<L>§machines: Park

Live default machines, one per language, spawned on first use by machine — so successive reduces share definitions for as long as this Multi lives. See docs/design/machines.md.