Skip to main content

ArgAbiExt

Trait ArgAbiExt 

Source
trait ArgAbiExt<'ll, 'tcx> {
    // Required methods
    fn store(
        &self,
        bx: &mut GenericBuilder<'_, 'll, FullCx<'ll, 'tcx>>,
        val: Value<'ll>,
        dst: PlaceRef<'tcx, Value<'ll>>,
    );
    fn store_fn_arg(
        &self,
        bx: &mut GenericBuilder<'_, 'll, FullCx<'ll, 'tcx>>,
        idx: &mut usize,
        dst: PlaceRef<'tcx, Value<'ll>>,
    );
}

Required Methods§

Source

fn store( &self, bx: &mut GenericBuilder<'_, 'll, FullCx<'ll, 'tcx>>, val: Value<'ll>, dst: PlaceRef<'tcx, Value<'ll>>, )

Source

fn store_fn_arg( &self, bx: &mut GenericBuilder<'_, 'll, FullCx<'ll, 'tcx>>, idx: &mut usize, dst: PlaceRef<'tcx, Value<'ll>>, )

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<'ll, 'tcx> ArgAbiExt<'ll, 'tcx> for ArgAbi<'tcx, Ty<'tcx>>

Source§

fn store( &self, bx: &mut GenericBuilder<'_, 'll, FullCx<'ll, 'tcx>>, val: Value<'ll>, dst: PlaceRef<'tcx, Value<'ll>>, )

Stores a direct/indirect value described by this ArgAbi into a place for the original Rust type of this argument/return. Can be used for both storing formal arguments into Rust variables or results of call/invoke instructions into their destinations.

Source§

fn store_fn_arg( &self, bx: &mut GenericBuilder<'_, 'll, FullCx<'ll, 'tcx>>, idx: &mut usize, dst: PlaceRef<'tcx, Value<'ll>>, )

Implementors§