Skip to main content

const_name

Function const_name 

Source
pub fn const_name(expr: &Expr) -> Option<&Name>
Expand description

Get the name of a constant, or None if not a constant.