Enum rustc_target::abi::call::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

Trait Implementations

impl Clone for ArgExtension[src]

impl Copy for ArgExtension[src]

impl Debug for ArgExtension[src]

impl Eq for ArgExtension[src]

impl PartialEq<ArgExtension> for ArgExtension[src]

impl StructuralEq for ArgExtension[src]

impl StructuralPartialEq for ArgExtension[src]

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> MaybeResult<T> for T[src]

type Error = !

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.