get_ref_operators

Function get_ref_operators 

Source
pub fn get_ref_operators<'hir>(
    cx: &LateContext<'_>,
    expr: &'hir Expr<'hir>,
) -> Vec<&'hir Expr<'hir>>
Expand description

Returns a Vec of Exprs containing AddrOf operators (&) or deref operators (*) of a given expression.