Enum rustc_codegen_llvm::abi::ArgExtension[−][src]

pub enum ArgExtension {
    None,
    Zext,
    Sext,
}

Sometimes an ABI requires small integers to be extended to a full or partial register. This enum defines if this extension should be zero-extension or sign-extension when necssary. When it is not necesary to extend the argument, this enum is ignored.

Variants

None
Zext
Sext

Auto Trait Implementations

impl RefUnwindSafe for ArgExtension

impl Send for ArgExtension

impl Sync for ArgExtension

impl Unpin for ArgExtension

impl UnwindSafe for ArgExtension

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone, 
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.