Rustdoc help

Back
You can find more information in the rustdoc book.

Keyboard Shortcuts

?
Show this help dialog
S / /
Focus the search field
Move up in search results
Move down in search results
/
Switch result tab (when results focused)
Go to active search result
+
Expand all sections
-
Collapse all sections

Search Tricks

For a full list of all search features, take a look here.

Prefix searches with a type followed by a colon (e.g., fn:) to restrict the search to a given item kind.

Accepted kinds are: fn, mod, struct, enum, trait, type, macro, and const.

Search functions by type signature (e.g., vec -> usize or -> vec or String, enum:Cow -> bool)

You can look for items with an exact name by putting double quotes around your request: "string"

Look for functions that accept or return slices and arrays by writing square brackets (e.g., -> [u8] or [] -> Option)

Look for items inside another one by searching for a path: vec::Vec

rustdoc 1.81.0 (eeb90cda1 2024-09-04)