Skip to main content

name_of

Function name_of 

Source
pub fn name_of(document: &IndexedDocument<'_>, id: BlockId) -> String
Expand description

A block’s name for path purposes: its title, or its id when untitled. The navigator’s richer name/type label would only make a path harder to read and to retype.