Skip to main content

entry_required_sym

Function entry_required_sym 

Source
pub fn entry_required_sym<'a>(
    entries: &'a [(Expr, Expr)],
    name: &str,
    expected: &'static str,
) -> Result<&'a Symbol>
Expand description

Read a required symbol-valued field from an entry slice by bare-symbol key, borrowing the Symbol. Bare-symbol counterpart of the symbol_field forks.