Skip to main content

entry_name

Function entry_name 

Source
pub fn entry_name(items: &[Item]) -> Option<String>
Expand description

Resolve the entry binding among top-level items: a bind named after a known entry keyword, otherwise the first bind whose value is a do { } block. Mirrors the tree-walker’s find_entry.