1 2 3 4 5 6 7 8 9 10 11 12 13
#[derive(Debug, Default)] pub struct Config {} impl Config { pub fn new() -> Self { Self {} } #[cfg(feature = "component-model")] pub fn wasm_component_model(&mut self, _: bool) -> &mut Self { self } }