# Foreign Type rustc_codegen_llvm::llvm_::ffi::Type

source ·

    extern {
        pub type Type;
    }

## Implementations§

source§

### impl Type

source

#### pub fn ix_llcx(llcx: &Context, num_bits: u64) -> &Type

Creates an integer type with the given number of bits, e.g., i24

source

#### pub fn ptr_llcx(llcx: &Context) -> &Type

## Trait Implementations§

source§

### impl Debug for Type

source§

#### fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

### impl PartialEq for Type

source§

#### fn eq(&self, other: &Self) -> bool

This method tests for `self` and `other` values to be equal, and is used by `==`.
1.0.0 · source§

#### fn ne(&self, other: &Rhs) -> bool

This method tests for `!=`. The default implementation is almost always sufficient, and should not be overridden without very good reason.