# Trait rustc_codegen_ssa::traits::HasCodegen

source ·

    pub trait HasCodegen<'tcx>: Backend<'tcx> + Deref<Target = Self::CodegenCx> {
        type CodegenCx: CodegenMethods<'tcx> + BackendTypes<Value = Self::Value, Function = Self::Function, BasicBlock = Self::BasicBlock, Type = Self::Type, Funclet = Self::Funclet, DIScope = Self::DIScope, DILocation = Self::DILocation, DIVariable = Self::DIVariable>;
    }

## Required Associated Types§

source

#### type CodegenCx: CodegenMethods<'tcx> + BackendTypes<Value = Self::Value, Function = Self::Function, BasicBlock = Self::BasicBlock, Type = Self::Type, Funclet = Self::Funclet, DIScope = Self::DIScope, DILocation = Self::DILocation, DIVariable = Self::DIVariable>

## Object Safety§

This trait is not object safe.

## Implementors§