Function rustc_typeck::traits::misc::can_type_implement_copy[−][src]

pub fn can_type_implement_copy(
    tcx: TyCtxt<'tcx>,
    param_env: ParamEnv<'tcx>,
    self_type: &'tcx TyS<'tcx>
) -> Result<(), CopyImplementationError<'tcx>>