pub trait ToLLVMType: Type {
// Required method
fn convert(&self, ctx: &Context) -> Result<TypeHandle>;
}Expand description
Interface for converting to an LLVM type.
Required Methods§
Trait Implementations§
impl TypeImplsInterface<dyn ToLLVMType> for FunctionType
impl TypeImplsInterface<dyn ToLLVMType> for UnitType
impl TypeInterfaceMarker for dyn ToLLVMType
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".