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