Function easy_plugin::extractor::expr_to_struct
[−]
pub fn expr_to_struct(expr: &Expr)
-> Result<(Path, Vec<Field>, Option<P<Expr>>), (Span, String)>
Returns the ExprKind::Struct
values in the supplied Expr
.