Function clippy_utils::ty::is_copy

source ยท
pub fn is_copy<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'tcx>) -> bool
Expand description

Checks if the given type implements copy.