pub type LinkCard = fn(url: &str, form: Form, _: &mut Window, _: &mut App) -> Option<AnyElement>;Expand description
The card an app paints for a link it owns, in place of the bookmark — see
crate::AppExt::set_link_card. None for a link it leaves to the web
preview.
The element sits inside crate::render::PAINTED_CONTEXT. A press it does
not stop reaches the editor.