Struct llvm_ir::module::Alignments[][src]

pub struct Alignments { /* fields omitted */ }
Expand description

Alignment for various types in memory. See LLVM 12 docs on Data Layout

Implementations

Alignment of the given type (in bits)

Alignment of the integer type of the given size (in bits)

Alignment of the vector type of the given total size (in bits)

Alignment of the given floating-point type

Alignment of aggregate types (structs, arrays)

Alignment of function pointers

Alignment of (non-function-pointer) pointers in the given address space

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.