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

pub enum Abi {
    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.



Fields of Vector

element: Scalarcount: u64

Fields of Aggregate

sized: bool

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


impl Abi[src]

pub fn is_unsized(&self) -> bool[src]

Returns true if the layout corresponds to an unsized type.

pub fn is_signed(&self) -> bool[src]

Returns true if this is a single signed integer scalar

pub fn is_uninhabited(&self) -> bool[src]

Returns true if this is an uninhabited type

pub fn is_scalar(&self) -> bool[src]

Returns true is this is a scalar type

Trait Implementations

impl Clone for Abi[src]

impl Debug for Abi[src]

impl Eq for Abi[src]

impl Hash for Abi[src]

impl<__CTX> HashStable<__CTX> for Abi where
    __CTX: HashStableContext

impl PartialEq<Abi> for Abi[src]

impl StructuralEq for Abi[src]

impl StructuralPartialEq for Abi[src]

Auto Trait Implementations

impl RefUnwindSafe for Abi

impl Send for Abi

impl Sync for Abi

impl Unpin for Abi

impl UnwindSafe for Abi

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> MaybeResult<T> for T[src]

type Error = !

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.