Skip to main content

Module link

Module link 

Source
Expand description

What a link is to the app: what opens it, what it shows on hover, and what its chip and its card say.

Installed once at boot with crate::AppExt::set_links. Without it a link goes to App::open_url and shows nothing on hover. A #fragment link reaches none of it: it names a heading of the document it is in — see heading.

Structs§

Link
A link where it is written.

Traits§

Links
The app’s side of every link a document paints.

Functions§

heading
The block of the heading fragment (without its #) names in doc. A slug already taken by an earlier heading gets -1, -2, … as on GitHub. The fragment is compared as written: no percent-decoding.