Skip to main content

LlvmType

Trait LlvmType 

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

Required Methods§

Source

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

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, '_>>) -> &'ll Type

Source§

impl LlvmType for Reg

Source§

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

Implementors§