pub trait Host {
// Required methods
fn typeset(&self, latex: &str) -> Fragment;
fn on_change(&self, doc: &Document);
fn on_exit(&self, dir: ExitDir);
fn request_close(&self);
fn on_render(&self);
}Expand description
Callbacks implemented by the host.
Required Methods§
Sourcefn request_close(&self)
fn request_close(&self)
Request that math mode ends.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".