rustc_codegen_llvm::llvm_::ffi

Foreign Type 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

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

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

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