☰
In rustfmt_nightly::expr
Structs
ControlFlow
Enums
ExprType
RhsAssignKind
RhsTactics
Functions
block_contains_comment
block_has_statements
block_prefix
can_be_overflowed_expr
choose_matcher
choose_rhs
choose_separator_tactic
extract_comment
extract_pats_and_cond
format_expr
is_empty_block
is_every_expr_simple
is_method_call
is_nested_call
is_simple_block
is_simple_block_stmt
is_simple_expr
is_unsafe_block
last_line_offsetted
prefer_next_line
rewrite_array
rewrite_assign_rhs
rewrite_assign_rhs_expr
rewrite_assign_rhs_with
rewrite_assign_rhs_with_comments
rewrite_assignment
rewrite_block
rewrite_block_with_visitor
rewrite_call
rewrite_cond
rewrite_empty_block
rewrite_expr_addrof
rewrite_field
rewrite_index
rewrite_int_lit
rewrite_label
rewrite_literal
rewrite_paren
rewrite_paren_in_multi_line
rewrite_single_line_block
rewrite_string_lit
rewrite_struct_lit
rewrite_tuple
rewrite_tuple_in_visual_indent_style
rewrite_unary_op
rewrite_unary_prefix
rewrite_unary_suffix
shape_from_rhs_tactic
span_ends_with_comma
stmt_is_expr
struct_lit_can_be_aligned
struct_lit_field_separator
to_control_flow
wrap_struct_field
?
Function
rustfmt_nightly
::
expr
::
is_simple_expr
source
·
[
−
]
pub(crate) fn is_simple_expr(expr: &
Expr
) ->
bool