Skip to main content

LlvmType

Trait LlvmType 

Source
pub(crate) trait LlvmType {
    // Required method
    fn llvm_type<'ll>(&self, cx: &GenericCx<'ll, FullCx<'ll, '_>>) -> Type<'ll>;
}

Required Methods§

Source

fn llvm_type<'ll>(&self, cx: &GenericCx<'ll, FullCx<'ll, '_>>) -> Type<'ll>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl LlvmType for CastTarget

Source§

fn llvm_type<'ll>(&self, cx: &GenericCx<'ll, FullCx<'ll, '_>>) -> Type<'ll>

Source§

impl LlvmType for Reg

Source§

fn llvm_type<'ll>(&self, cx: &GenericCx<'ll, FullCx<'ll, '_>>) -> Type<'ll>

Implementors§