Enum rustc_target::abi::Abi[][src]

pub enum Abi {
    Uninhabited,
    Scalar(Scalar),
    ScalarPair(ScalarScalar),
    Vector {
        element: Scalar,
        count: u64,
    },
    Aggregate {
        sized: bool,
    },
}

Describes how values of the type are passed by target ABIs, in terms of categories of C types there are ABI rules for.

Variants

Fields of Vector

Fields of Aggregate

If true, the size is exact, otherwise it's only a lower bound.

Methods

impl Abi
[src]

Returns true if the layout corresponds to an unsized type.

Returns true if this is a single signed integer scalar

Trait Implementations

impl Clone for Abi
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Abi
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Abi
[src]

impl Hash for Abi
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for Abi
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Abi

impl Sync for Abi