Skip to main content

lower

Function lower 

Source
pub fn lower(
    program: &Program,
    items: &ItemIndex,
    def: DefId,
) -> Option<Function>
Expand description

Lowers the function or constant def, or returns None if def is neither. A constant lowers to a function without parameters that computes its value.