[][src]Struct c2rust_asm_casts::AsmCast

pub struct AsmCast<Out, In>(_);

Pseudo-structure that provides the inner type definition and cast functions for every pair of types used in C2Rust's implementation of tied inline assembly operands. For two tied operands of types In and Out, this implementation provides the smallest type that can hold both operands, along with the casts to convert each operand to this type.

Trait Implementations

impl<T, U> AsmCastTrait<*const T, *const U> for AsmCast<*const T, *const U>[src]

type Type = usize

impl<T, U> AsmCastTrait<*const T, *mut U> for AsmCast<*const T, *mut U>[src]

type Type = usize

impl<T, U> AsmCastTrait<*mut T, *const U> for AsmCast<*mut T, *const U>[src]

type Type = usize

impl<T, U> AsmCastTrait<*mut T, *mut U> for AsmCast<*mut T, *mut U>[src]

type Type = usize

impl AsmCastTrait<u8, u8> for AsmCast<u8, u8>[src]

type Type = u8

impl AsmCastTrait<u8, i8> for AsmCast<u8, i8>[src]

type Type = u8

impl AsmCastTrait<i8, u8> for AsmCast<i8, u8>[src]

type Type = u8

impl AsmCastTrait<u16, u16> for AsmCast<u16, u16>[src]

type Type = u16

impl AsmCastTrait<u16, u8> for AsmCast<u16, u8>[src]

type Type = u16

impl AsmCastTrait<u8, u16> for AsmCast<u8, u16>[src]

type Type = u16

impl AsmCastTrait<u16, i8> for AsmCast<u16, i8>[src]

type Type = u16

impl AsmCastTrait<i8, u16> for AsmCast<i8, u16>[src]

type Type = u16

impl AsmCastTrait<u16, i16> for AsmCast<u16, i16>[src]

type Type = u16

impl AsmCastTrait<i16, u16> for AsmCast<i16, u16>[src]

type Type = u16

impl AsmCastTrait<u32, u32> for AsmCast<u32, u32>[src]

type Type = u32

impl AsmCastTrait<u32, u8> for AsmCast<u32, u8>[src]

type Type = u32

impl AsmCastTrait<u8, u32> for AsmCast<u8, u32>[src]

type Type = u32

impl AsmCastTrait<u32, u16> for AsmCast<u32, u16>[src]

type Type = u32

impl AsmCastTrait<u16, u32> for AsmCast<u16, u32>[src]

type Type = u32

impl AsmCastTrait<u32, i8> for AsmCast<u32, i8>[src]

type Type = u32

impl AsmCastTrait<i8, u32> for AsmCast<i8, u32>[src]

type Type = u32

impl AsmCastTrait<u32, i16> for AsmCast<u32, i16>[src]

type Type = u32

impl AsmCastTrait<i16, u32> for AsmCast<i16, u32>[src]

type Type = u32

impl AsmCastTrait<u32, i32> for AsmCast<u32, i32>[src]

type Type = u32

impl AsmCastTrait<i32, u32> for AsmCast<i32, u32>[src]

type Type = u32

impl AsmCastTrait<u64, u64> for AsmCast<u64, u64>[src]

type Type = u64

impl AsmCastTrait<u64, u8> for AsmCast<u64, u8>[src]

type Type = u64

impl AsmCastTrait<u8, u64> for AsmCast<u8, u64>[src]

type Type = u64

impl AsmCastTrait<u64, u16> for AsmCast<u64, u16>[src]

type Type = u64

impl AsmCastTrait<u16, u64> for AsmCast<u16, u64>[src]

type Type = u64

impl AsmCastTrait<u64, u32> for AsmCast<u64, u32>[src]

type Type = u64

impl AsmCastTrait<u32, u64> for AsmCast<u32, u64>[src]

type Type = u64

impl AsmCastTrait<u64, i8> for AsmCast<u64, i8>[src]

type Type = u64

impl AsmCastTrait<i8, u64> for AsmCast<i8, u64>[src]

type Type = u64

impl AsmCastTrait<u64, i16> for AsmCast<u64, i16>[src]

type Type = u64

impl AsmCastTrait<i16, u64> for AsmCast<i16, u64>[src]

type Type = u64

impl AsmCastTrait<u64, i32> for AsmCast<u64, i32>[src]

type Type = u64

impl AsmCastTrait<i32, u64> for AsmCast<i32, u64>[src]

type Type = u64

impl AsmCastTrait<u64, i64> for AsmCast<u64, i64>[src]

type Type = u64

impl AsmCastTrait<i64, u64> for AsmCast<i64, u64>[src]

type Type = u64

impl AsmCastTrait<u64, usize> for AsmCast<u64, usize>[src]

type Type = u64

impl AsmCastTrait<usize, u64> for AsmCast<usize, u64>[src]

type Type = u64

impl AsmCastTrait<u64, isize> for AsmCast<u64, isize>[src]

type Type = u64

impl AsmCastTrait<isize, u64> for AsmCast<isize, u64>[src]

type Type = u64

impl AsmCastTrait<i8, i8> for AsmCast<i8, i8>[src]

type Type = i8

impl AsmCastTrait<i16, i16> for AsmCast<i16, i16>[src]

type Type = i16

impl AsmCastTrait<i16, u8> for AsmCast<i16, u8>[src]

type Type = i16

impl AsmCastTrait<u8, i16> for AsmCast<u8, i16>[src]

type Type = i16

impl AsmCastTrait<i16, i8> for AsmCast<i16, i8>[src]

type Type = i16

impl AsmCastTrait<i8, i16> for AsmCast<i8, i16>[src]

type Type = i16

impl AsmCastTrait<i32, i32> for AsmCast<i32, i32>[src]

type Type = i32

impl AsmCastTrait<i32, u8> for AsmCast<i32, u8>[src]

type Type = i32

impl AsmCastTrait<u8, i32> for AsmCast<u8, i32>[src]

type Type = i32

impl AsmCastTrait<i32, u16> for AsmCast<i32, u16>[src]

type Type = i32

impl AsmCastTrait<u16, i32> for AsmCast<u16, i32>[src]

type Type = i32

impl AsmCastTrait<i32, i8> for AsmCast<i32, i8>[src]

type Type = i32

impl AsmCastTrait<i8, i32> for AsmCast<i8, i32>[src]

type Type = i32

impl AsmCastTrait<i32, i16> for AsmCast<i32, i16>[src]

type Type = i32

impl AsmCastTrait<i16, i32> for AsmCast<i16, i32>[src]

type Type = i32

impl AsmCastTrait<i64, i64> for AsmCast<i64, i64>[src]

type Type = i64

impl AsmCastTrait<i64, u8> for AsmCast<i64, u8>[src]

type Type = i64

impl AsmCastTrait<u8, i64> for AsmCast<u8, i64>[src]

type Type = i64

impl AsmCastTrait<i64, u16> for AsmCast<i64, u16>[src]

type Type = i64

impl AsmCastTrait<u16, i64> for AsmCast<u16, i64>[src]

type Type = i64

impl AsmCastTrait<i64, u32> for AsmCast<i64, u32>[src]

type Type = i64

impl AsmCastTrait<u32, i64> for AsmCast<u32, i64>[src]

type Type = i64

impl AsmCastTrait<i64, i8> for AsmCast<i64, i8>[src]

type Type = i64

impl AsmCastTrait<i8, i64> for AsmCast<i8, i64>[src]

type Type = i64

impl AsmCastTrait<i64, i16> for AsmCast<i64, i16>[src]

type Type = i64

impl AsmCastTrait<i16, i64> for AsmCast<i16, i64>[src]

type Type = i64

impl AsmCastTrait<i64, i32> for AsmCast<i64, i32>[src]

type Type = i64

impl AsmCastTrait<i32, i64> for AsmCast<i32, i64>[src]

type Type = i64

impl AsmCastTrait<i64, usize> for AsmCast<i64, usize>[src]

type Type = i64

impl AsmCastTrait<usize, i64> for AsmCast<usize, i64>[src]

type Type = i64

impl AsmCastTrait<i64, isize> for AsmCast<i64, isize>[src]

type Type = i64

impl AsmCastTrait<isize, i64> for AsmCast<isize, i64>[src]

type Type = i64

impl AsmCastTrait<usize, usize> for AsmCast<usize, usize>[src]

type Type = usize

impl AsmCastTrait<usize, u8> for AsmCast<usize, u8>[src]

type Type = usize

impl AsmCastTrait<u8, usize> for AsmCast<u8, usize>[src]

type Type = usize

impl AsmCastTrait<usize, u16> for AsmCast<usize, u16>[src]

type Type = usize

impl AsmCastTrait<u16, usize> for AsmCast<u16, usize>[src]

type Type = usize

impl AsmCastTrait<usize, i8> for AsmCast<usize, i8>[src]

type Type = usize

impl AsmCastTrait<i8, usize> for AsmCast<i8, usize>[src]

type Type = usize

impl AsmCastTrait<usize, i16> for AsmCast<usize, i16>[src]

type Type = usize

impl AsmCastTrait<i16, usize> for AsmCast<i16, usize>[src]

type Type = usize

impl AsmCastTrait<usize, isize> for AsmCast<usize, isize>[src]

type Type = usize

impl AsmCastTrait<isize, usize> for AsmCast<isize, usize>[src]

type Type = usize

impl AsmCastTrait<isize, isize> for AsmCast<isize, isize>[src]

type Type = isize

impl AsmCastTrait<isize, u8> for AsmCast<isize, u8>[src]

type Type = isize

impl AsmCastTrait<u8, isize> for AsmCast<u8, isize>[src]

type Type = isize

impl AsmCastTrait<isize, u16> for AsmCast<isize, u16>[src]

type Type = isize

impl AsmCastTrait<u16, isize> for AsmCast<u16, isize>[src]

type Type = isize

impl AsmCastTrait<isize, i8> for AsmCast<isize, i8>[src]

type Type = isize

impl AsmCastTrait<i8, isize> for AsmCast<i8, isize>[src]

type Type = isize

impl AsmCastTrait<isize, i16> for AsmCast<isize, i16>[src]

type Type = isize

impl AsmCastTrait<i16, isize> for AsmCast<i16, isize>[src]

type Type = isize

impl<T> AsmCastTrait<u8, *const T> for AsmCast<u8, *const T>[src]

type Type = usize

impl<T> AsmCastTrait<*const T, u8> for AsmCast<*const T, u8>[src]

type Type = usize

impl<T> AsmCastTrait<u8, *mut T> for AsmCast<u8, *mut T>[src]

type Type = usize

impl<T> AsmCastTrait<*mut T, u8> for AsmCast<*mut T, u8>[src]

type Type = usize

impl<T> AsmCastTrait<u16, *const T> for AsmCast<u16, *const T>[src]

type Type = usize

impl<T> AsmCastTrait<*const T, u16> for AsmCast<*const T, u16>[src]

type Type = usize

impl<T> AsmCastTrait<u16, *mut T> for AsmCast<u16, *mut T>[src]

type Type = usize

impl<T> AsmCastTrait<*mut T, u16> for AsmCast<*mut T, u16>[src]

type Type = usize

impl<T> AsmCastTrait<i8, *const T> for AsmCast<i8, *const T>[src]

type Type = usize

impl<T> AsmCastTrait<*const T, i8> for AsmCast<*const T, i8>[src]

type Type = usize

impl<T> AsmCastTrait<i8, *mut T> for AsmCast<i8, *mut T>[src]

type Type = usize

impl<T> AsmCastTrait<*mut T, i8> for AsmCast<*mut T, i8>[src]

type Type = usize

impl<T> AsmCastTrait<i16, *const T> for AsmCast<i16, *const T>[src]

type Type = usize

impl<T> AsmCastTrait<*const T, i16> for AsmCast<*const T, i16>[src]

type Type = usize

impl<T> AsmCastTrait<i16, *mut T> for AsmCast<i16, *mut T>[src]

type Type = usize

impl<T> AsmCastTrait<*mut T, i16> for AsmCast<*mut T, i16>[src]

type Type = usize

impl<T> AsmCastTrait<usize, *const T> for AsmCast<usize, *const T>[src]

type Type = usize

impl<T> AsmCastTrait<*const T, usize> for AsmCast<*const T, usize>[src]

type Type = usize

impl<T> AsmCastTrait<usize, *mut T> for AsmCast<usize, *mut T>[src]

type Type = usize

impl<T> AsmCastTrait<*mut T, usize> for AsmCast<*mut T, usize>[src]

type Type = usize

impl<T> AsmCastTrait<isize, *const T> for AsmCast<isize, *const T>[src]

type Type = usize

impl<T> AsmCastTrait<*const T, isize> for AsmCast<*const T, isize>[src]

type Type = usize

impl<T> AsmCastTrait<isize, *mut T> for AsmCast<isize, *mut T>[src]

type Type = usize

impl<T> AsmCastTrait<*mut T, isize> for AsmCast<*mut T, isize>[src]

type Type = usize

impl<T> AsmCastTrait<u64, *const T> for AsmCast<u64, *const T>[src]

type Type = u64

impl<T> AsmCastTrait<*const T, u64> for AsmCast<*const T, u64>[src]

type Type = u64

impl<T> AsmCastTrait<u64, *mut T> for AsmCast<u64, *mut T>[src]

type Type = u64

impl<T> AsmCastTrait<*mut T, u64> for AsmCast<*mut T, u64>[src]

type Type = u64

impl<T> AsmCastTrait<i64, *const T> for AsmCast<i64, *const T>[src]

type Type = i64

impl<T> AsmCastTrait<*const T, i64> for AsmCast<*const T, i64>[src]

type Type = i64

impl<T> AsmCastTrait<i64, *mut T> for AsmCast<i64, *mut T>[src]

type Type = i64

impl<T> AsmCastTrait<*mut T, i64> for AsmCast<*mut T, i64>[src]

type Type = i64

impl AsmCastTrait<usize, u32> for AsmCast<usize, u32>[src]

type Type = u64

impl AsmCastTrait<u32, usize> for AsmCast<u32, usize>[src]

type Type = u64

impl AsmCastTrait<usize, i32> for AsmCast<usize, i32>[src]

type Type = u64

impl AsmCastTrait<i32, usize> for AsmCast<i32, usize>[src]

type Type = u64

impl AsmCastTrait<isize, u32> for AsmCast<isize, u32>[src]

type Type = u64

impl AsmCastTrait<u32, isize> for AsmCast<u32, isize>[src]

type Type = u64

impl AsmCastTrait<isize, i32> for AsmCast<isize, i32>[src]

type Type = u64

impl AsmCastTrait<i32, isize> for AsmCast<i32, isize>[src]

type Type = u64

impl<T> AsmCastTrait<u32, *const T> for AsmCast<u32, *const T>[src]

type Type = u64

impl<T> AsmCastTrait<*const T, u32> for AsmCast<*const T, u32>[src]

type Type = u64

impl<T> AsmCastTrait<u32, *mut T> for AsmCast<u32, *mut T>[src]

type Type = u64

impl<T> AsmCastTrait<*mut T, u32> for AsmCast<*mut T, u32>[src]

type Type = u64

impl<T> AsmCastTrait<i32, *const T> for AsmCast<i32, *const T>[src]

type Type = u64

impl<T> AsmCastTrait<*const T, i32> for AsmCast<*const T, i32>[src]

type Type = u64

impl<T> AsmCastTrait<i32, *mut T> for AsmCast<i32, *mut T>[src]

type Type = u64

impl<T> AsmCastTrait<*mut T, i32> for AsmCast<*mut T, i32>[src]

type Type = u64

Auto Trait Implementations

impl<Out, In> Send for AsmCast<Out, In> where
    In: Send,
    Out: Send

impl<Out, In> Sync for AsmCast<Out, In> where
    In: Sync,
    Out: Sync

impl<Out, In> Unpin for AsmCast<Out, In> where
    In: Unpin,
    Out: Unpin

impl<Out, In> UnwindSafe for AsmCast<Out, In> where
    In: UnwindSafe,
    Out: UnwindSafe

impl<Out, In> RefUnwindSafe for AsmCast<Out, In> where
    In: RefUnwindSafe,
    Out: RefUnwindSafe

Blanket Implementations

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

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

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.

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

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

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