include_references

Function include_references 

Source
fn include_references(initial_element: &Expr) -> (Expr, String)
Expand description

Given an initial_element, tries to expand it to include deref(s), not(s), and then references. Returns the expanded expressions, and the added prefix as a string

For example, if called with the 42 in &&mut *42, would return (&&mut *42, "&&mut *").