Function easy_plugin::extractor::expr_to_if
[−]
pub fn expr_to_if(expr: &Expr)
-> Result<(P<Expr>, P<Block>, Option<P<Expr>>), (Span, String)>
Returns the ExprKind::If
values in the supplied Expr
.