pub fn set_title(title: &str)
Set the title to … — document.title = …: the head’s first <title> holds the new text, or, when the head has none, a new <title> holding it joins the head.
Set the title to …
document.title = …
<title>