Trait pulldown_cmark::BrokenLinkCallback
source · pub trait BrokenLinkCallback<'input> {
// Required method
fn handle_broken_link(
&mut self,
link: BrokenLink<'input>,
) -> Option<(CowStr<'input>, CowStr<'input>)>;
}
Expand description
Trait for broken link callbacks.
See Parser::new_with_broken_link_callback. Automatically implemented for closures with the appropriate signature.