Struct cranelift_codegen::machinst::abi_impl::ABICallerImpl[][src]

pub struct ABICallerImpl<M: ABIMachineSpec> { /* fields omitted */ }

ABI object for a callsite.

Implementations

impl<M: ABIMachineSpec> ABICallerImpl<M>[src]

pub fn from_func(
    sig: &Signature,
    extname: &ExternalName,
    dist: RelocDistance,
    caller_conv: CallConv
) -> CodegenResult<ABICallerImpl<M>>
[src]

Create a callsite ABI object for a call directly to the specified function.

pub fn from_ptr(
    sig: &Signature,
    ptr: Reg,
    opcode: Opcode,
    caller_conv: CallConv
) -> CodegenResult<ABICallerImpl<M>>
[src]

Create a callsite ABI object for a call to a function pointer with the given signature.

Trait Implementations

impl<M: ABIMachineSpec> ABICaller for ABICallerImpl<M>[src]

type I = M::I

The instruction type for the ISA associated with this ABI.

Auto Trait Implementations

impl<M> RefUnwindSafe for ABICallerImpl<M> where
    M: RefUnwindSafe

impl<M> Send for ABICallerImpl<M> where
    M: Send

impl<M> Sync for ABICallerImpl<M> where
    M: Sync

impl<M> Unpin for ABICallerImpl<M> where
    M: Unpin

impl<M> UnwindSafe for ABICallerImpl<M> where
    M: UnwindSafe

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, 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.