Example Usage
# use ltrait::{color_eyre::Result, Launcher};
# struct DummyUI;
#
# impl<'a> ltrait::UI<'a> for DummyUI {
# type Context = ();
#
# async fn run<Cushion: 'a + Send>(
# &self,
# _: ltrait::launcher::batcher::Batcher<'a, Cushion, Self::Context>,
# ) -> Result<Option<Cushion>> {
# unimplemented!()
# }
# }
#
# fn main() -> Result<()> {
#
use ltrait_gen_calc::{Calc, CalcConfig};
let launcher = Launcher::default()
.set_ui(DummyUI, |c| unimplemented!())
.add_raw_generator(
Calc::new(CalcConfig::new(
(Some('k'), None), None,
None, None,
)),
);
#
# Ok(()) }