Struct rupta::mir::call_site::AssocCallGroup
source · pub struct AssocCallGroup<I, F, P> { /* private fields */ }Expand description
Function calls associated with an instance, a dynamic object or a function pointer.
Implementations§
source§impl<I, F, P> AssocCallGroup<I, F, P>
impl<I, F, P> AssocCallGroup<I, F, P>
pub fn new() -> Self
pub fn add_static_dispatch_instance_call( &mut self, self_ref: I, instance_callsite: Rc<CallSiteS<F, P>>, callee: FuncId )
pub fn add_dynamic_dispatch_call( &mut self, dyn_var: I, dyn_callsite: Rc<CallSiteS<F, P>> )
pub fn add_dynamic_fntrait_call( &mut self, dyn_fn_obj: I, dyn_fntrait_callsite: Rc<CallSiteS<F, P>> )
pub fn add_fnptr_call(&mut self, fn_ptr: I, callsite: Rc<CallSiteS<F, P>>)
Auto Trait Implementations§
impl<I, F, P> RefUnwindSafe for AssocCallGroup<I, F, P>
impl<I, F, P> !Send for AssocCallGroup<I, F, P>
impl<I, F, P> !Sync for AssocCallGroup<I, F, P>
impl<I, F, P> Unpin for AssocCallGroup<I, F, P>where
I: Unpin,
impl<I, F, P> UnwindSafe for AssocCallGroup<I, F, P>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more