☰
In clippy_utils::ty
In clippy_utils::ty
Enums
EnumValue
ExprFnSig
Functions
all_predicates_of
approx_ty_size
can_partially_move_ty
contains_adt_constructor
expr_sig
for_each_top_level_late_bound_region
get_associated_type
get_discriminant_value
get_iterator_item_ty
get_type_diagnostic_name
has_drop
has_iter_method
implements_trait
implements_trait_with_env
is_c_void
is_copy
is_isize_or_usize
is_must_use_ty
is_non_aggregate_primitive_type
is_normalizable
is_normalizable_helper
is_recursively_primitive_type
is_type_diagnostic_item
is_type_lang_item
is_type_ref_to_diagnostic_item
is_uninit_value_valid_for_ty
match_type
needs_ordered_drop
peel_mid_ty_refs
peel_mid_ty_refs_is_mutable
read_explicit_enum_value
same_type_and_consts
sig_for_projection
sig_from_bounds
ty_is_fn_once_param
ty_sig
type_is_unsafe_function
variant_of_res
walk_ptrs_hir_ty
walk_ptrs_ty_depth
?
Function
clippy_utils
::
ty
::
is_copy
source
·
[
−
]
pub fn is_copy<'tcx>(cx: &
LateContext
<'tcx>, ty:
Ty
<'tcx>) ->
bool