pub fn with_fallback<R>(on: bool, f: impl FnOnce() -> R) -> R
Run f — a backend’s conversion — with the HTML fallback on (on) or off; the previous state is restored afterwards, also on a panic.
f
on